[Gllug] mod_proxy
Robert McKay
robert at mckay.com
Tue Aug 6 14:37:35 UTC 2002
On Sat, 2 Jan 1904, Leigh Mason wrote:
> I'm trying to use the mod_proxy module to redirect certain requests to
> another server but keep getting
> a blasted 'Forbidden' alert. My error log shows 'client denied by server
> configuration'.
> My http.conf:
> <VirtualHost 192.168.1.2>
> ServerName www.domain.net
> ProxyPass / http://192.168.1.4
> ProxyPassReverse / http://192.168.1.4
> </VirtualHost>
I normally use rewriterule and the [P] (proxy) flag
for situations like this.
example:
<VirtualHost 192.168.1.2>
ReWriteEngine On
ReWriteRule / http://192.168.1.4 [P]
</VirtualHost>
-Robert.
--
Gllug mailing list - Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug
More information about the GLLUG
mailing list