Disable mod_proxy for subdirectory (apache)

apache-2.2mod-proxy

I have apache with one folder used for reverse proxy:

<VirtualHost *:80>
 ...
 ProxyPass /site http://server.local:8989/site
 ProxyPassReverse /site http://server.local:8989/site
</VirtualHost *:80>

How can I disable proxy for url's /site/IMAGES/* ?

Best Answer

Add before the first ProxyPass:

ProxyPass /site/IMAGES/ !

See the mod_proxy docs for the full details.

Related Topic