RE: [users@httpd] how to remove a temporary change made to httpd.conf?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> -----Original Message-----
> From: Pete Eakle [mailto:pete.eakle@xxxxxxxxx]
> Sent: Dienstag, 15. März 2005 08:41
> To: users@xxxxxxxxxxxxxxxx
> Subject: [users@httpd] how to remove a temporary change made to
> httpd.conf?
> 
> 
> a portion of my httpd.conf used to look like (forwarding dynamic
> content to Tomcat 5.0):
> 
>     DocumentRoot "/var/www/html/Examples"           <--soft link to
> /opt/tomcat/apps/Examples
> 
>     JkMount /Examples/WEB-INF/* ajp13
>     JkMount /Examples/fwd ajp13
> 
> This was working fine, except that my url was
> http://www.jexamples.com/Examples, 

I guess you mean "for my tomcat content"... I suppose static content was
served via:

http://www.jexamples.com/static_file.html


> and I wanted to get rid of the
> /Examples part.
> 
> So after stopping Tomcat and Apache (2.0) I changed the above to:
> 
>     DocumentRoot "/opt/tomcat/apps/Examples"
> 
>     JkMount /WEB-INF/* ajp13
>     JkMount /fwd ajp13
> 
> and restarted the servers, but unfortunately it didn't work.  It could
> invoke static content OK, but not my JSPs (e.g., "The requested URL
> /fwd was not found on this server.").  

This should work - from what I know of JkMount, you need to give a
shell-style pattern, ie:

     JkMount /fwd/* ajp13

Does that work? (Are you sure "JkMount /Examples/fwd ajp13" worked
previously?)
Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored. 

> So I stopped the servers and
> backed out the above changes and then restarted the servers, and I'm
> still getting the same error -- it can't find my jsp URLs (the
> forwarded ones).  Why wouldn't it behave just like it did before I
> made the change?
> 
> Any leads appreciated.  Thanks.
> 
>     -Pete
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP 
> Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
>    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
> 
> 
Diese E-mail ist eine private und persönliche Kommunikation. Sie hat
keinen Bezug zur Börsen- bzw. Geschäftstätigkeit der SWX Gruppe. This
e-mail is of a private and personal nature. It is not related to the
exchange or business activities of the SWX Group. Le présent e-mail est
un message privé et personnel, sans rapport avec l'activité boursière du
Groupe SWX.

This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission.
If you receive this message in error, please notify the sender urgently
and then immediately delete the message and any copies of it from your
system. Please also immediately destroy any hardcopies of the message.
You must not, directly or indirectly, use, disclose, distribute, print,
or copy any part of this message if you are not the intended recipient.
The sender's company reserves the right to monitor all e-mail
communications through their networks. Any views expressed in this
message are those of the individual sender, except where the message
states otherwise and the sender is authorised to state them to be the
views of the sender's company. 



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux