Proxy all but one location

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

 



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




---------------------------------------------------------------------
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