You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Eric Covener <co...@gmail.com> on 2009/09/06 01:52:27 UTC
Re: [users@httpd] URL exception when using ProxyPass directive
(mod_proxy)
On Sat, Sep 5, 2009 at 7:45 PM, Devraj Mukherjee<de...@gmail.com> wrote:
> Hi all,
>
> I am using mod_proxy to reverse proxy content from another web server.
> I have assigned the root of the web server as the root of the
> mod_proxy setup, such as
>
> ProxyPass / http://sourceserver.local/
> <Location />
> ProxyPassReverse /
> </Location>
>
> I would like make an exception and serve some local content at the URL
> /forms/ (the content is locally available on the reverse proxy). I
> have tried serving this via the Alias directive but have failed.
http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxypass
| The ! directive is useful in situations where you don't want to
reverse-proxy a subdirectory, e.g.
| ProxyPass /mirror/foo/i !
| ProxyPass /mirror/foo http://backend.example.com
--
Eric Covener
covener@gmail.com
---------------------------------------------------------------------
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@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org