RE: [mod-security-users] as reverse proxy
Brought to you by:
victorhora,
zimmerletw
|
From: Alon A. <aa...@we...> - 2006-01-30 05:35:10
|
Hi ,=20
Mod_proxy should be used as:
=20
ProxyPass / http://192.168.1.30 <http://192.168.1.30/> /
ProxyPassReverse / http://192.168.1.30/ <http://192.168.1.30/> =20
=20
Note the last slash.
=20
=20
=20
________________________________
From: mod...@li...
[mailto:mod...@li...] On Behalf Of
kiran k
Sent: Monday, January 30, 2006 7:02 AM
To: mod...@li...
Subject: [mod-security-users] as reverse proxy
=20
=20
Hi:
=20
I set it up exactly as described in the article. Basic test went fine,
ie when I access http:192.168.1.10 (which is proxy), it went to
192.168.1.30.=20
=20
When I try access server scripts (ie
http://192.168.1.10/cgi-bin/modsec-test.pl) I get proxy error, like
below. What is missing ? Why DNS lookup for ipaddr ?
=20
=20
=20
The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request GET
/cgi-bin/modsec-test.pl <http://192.168.1.10/cgi-bin/secprise.pl> .=20
Reason: DNS lookup failure for: 192.168.1.30cgi-bin
=20
Configuration:
=20
<VirtualHost 192.168.1.10>
=20
ServerName localhost
ProxyRequests Off
ProxyPass / http://192.168.1.30 <http://192.168.1.30/>=20
ProxyPassReverse / http://192.168.1.30 <http://192.168.1.30/>=20
=20
=20
SecFilterEngine DynamicOnly
SecFilterCheckURLEncoding On
</VirtualHost>
=20
=20
=20
=20
=20
=20
=20
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around=20
http://mail.yahoo.com=20
________________________________
Do you Yahoo!?
With a free 1 GB, there's more in store with Yahoo! Mail.
<http://us.rd.yahoo.com/mail_us/taglines/mailstorage/*http:/mail.yahoo.c
om/>=20
|