You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Pete Eakle <pe...@gmail.com> on 2005/03/15 08:41:11 UTC

[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, 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.").  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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org