URL exception when using ProxyPass directive (mod_proxy)

URL exception when using ProxyPass directive (mod_proxy)

am 06.09.2009 01:45:12 von Devraj Mukherjee

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/

ProxyPassReverse /


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.

Is this even possible? Or should I place those files on another server
(or VirtualHost) and reverse proxy them through?

Thanks.

--
"The secret impresses no-one, the trick you use it for is everything"
- Alfred Borden (The Prestiege)

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See 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

Re: URL exception when using ProxyPass directive

am 06.09.2009 01:52:27 von Eric Covener

On Sat, Sep 5, 2009 at 7:45 PM, Devraj Mukherjee 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 / =A0http://sourceserver.local/
>
> =A0ProxyPassReverse /
>

>
> 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#proxypas s

| 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

--=20
Eric Covener
covener@gmail.com

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See 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