Ken Miller wrote:

>I the past, when I've setup a proxy/app server configuration, it's always
>been to forward certain url's to the app server, with the rest being
>processed by the proxy.
>
>However, I need to turn this around.  I want to pass everything to the app
>server, except for some url's that point at static content (images, mostly).
>
>I initially thought something like this would work:
>
>-----------------------
>ProxyPass              On
>ProxyPass              /       http://other.server.com:1234/
>ProxyPassReverse       /       http://other.server.com:1234/
>
>alias /graphics /local/path
>-----------------------
>
>However, /graphics also get's proxied to the app server.  This isn't what I
>want.
>
I actually have had to do this myself... The solution is as follows:

ProxyPass        /staticstuff/    !
ProxyPass        /     http://other.host/
ProxyPassReverse /     http://other.host/

! is a special symbol telling it not to proxy that stuff - also, I think 
order counts (eg, do !s first)

  Issac
  Issac

Reply via email to