On 12.08.2010 15:59, Angelo Chen wrote:
Hi,
I use Apache web server 2.2 in front of tomcat, it works well with Apache's
default proxy module, however, I can't exclude some path from it:
ProxyPass / http://localhost:8080/
ProxyPass /static !
ProxyPassReverse / http://localhost:8080/
ProxyPreserveHost on
example.com/static still goes to my tomcat app, any idea? thanks,
Citing Apache docs [1]:
"Order is important: exclusions must come before the general ProxyPass
directive."
The directives are checked against the request in the order given. The
first match wins.
Regards,
Rainer
[1] http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxypass
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org