On Mon, Sep 19, 2011 at 3:44 PM, congo thomas <apache@xxxxxxx> wrote: > Hello experts, > > I have this application (geowebcache its called), running in tomcat. I use > Apache2 to proxy all http requests into the geowebcache. However I have > come across this boundry where my knowledge of apache configuration > reaches my edges... I dont know how to exclude /cache from being proxied. > > Right now my config looks like: > ### > ServerName gwc-server > DocumentRoot /var/www/gwc/wwwroot > <Directory "/var/www/gwc/wwwroot/WEB-INF" > > #disallow webinf from being browsed via apache > AllowOverride None > Order deny,allow > deny from all > </Directory> > ProxyRequests On > ProxyPass / http://gwc-server:9830/ > ProxyPassReverse / http://gwc-server:9830/ > ### > > Please understand that gwc-server:9830 is the tomcat hosting the > "gwc"-application. Tomcat is running on the same host as apache. > > How do i make http://gwc-server/cache not being routed through tomcat? > (tomcat serves it aswell, but since its static content, i want to skip > this layer due to heavy load; hence performance issues with the java > tomcat serving it). > > > br > congo thomas ProxyPass /cache ! ProxyPass / http://gwc-server:9830/ --------------------------------------------------------------------- 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