You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Darren Foltinek <da...@frontrange.ca> on 2003/10/18 21:06:00 UTC

Apache mod_proxy forwarding problem

I'm looking for advice on running a Tapestry application within an 
Apache/Tomcat server environment.

Right now, we are trying to use mod_proxy to forward the web-app context to 
Tomcat.  The Tomcat server lives on the inside of a firewall.

Apache httpd.conf, within the VirtualHost for this domain, looks like this:
<IfModule mod_proxy.c>
     ProxyPass /focus/app http://192.168.1.102:8080/focus/app
     ProxyPassReverse /focus/app http://192.168.1.102:8080/focus/app
</IfModule>

The Home page of the application comes up fine (it's stateless), but none 
of the links work - they all generate errors like this:

     The requested URL 
/focus/app;jsessionid=BFB0F4C25641E36BCE2ABDD2B00FD10D was not found on 
this server.

This error shows up in the Apache error_log file as "File does not exist: 
/apache/htdocs/focus/app;jsessionid=bfb0f4c25641e36bce2abdd2b00fd10d" 
meaning that Apache is NOT attempting to forward this request to the Tomcat 
server.

Any ideas on why the context is not being forwarded with the jsessionid 
parameter attached?

Has anybody successfully connected Tomcat to Apache using mod_proxy to run 
a Tapestry application?

Thanks,
-- Darren




---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org