tags:

views:

14

answers:

0

Hi,

running apache2.2. In a vhost, I would like to setup access to /static and /cgi-bin. route the rest requests to a backend server. I tried a mix of and directives but none of them works..

<Directory /docroot/static>
...
</Directory>

<Directory /docroot/cgi-bin>
...
</Directory>

<Location />
  ProxyPass  http://backend:8888/app/
  ProxyPassReverse  http://backend:8888/app/
</Location>

that doesn't work and all requests are routed to the backend by <Location />..

any suggestions to go about this? Thanks.