09-06-06 06:26 PM
Hello,
I like to know if there's a way to tell Apache to allow access only
from a specific IP (that in my scenario is a Proxy) and from that IP if
the header X-Forwarded-for is set to another specific address.
I don't know if the following would work (the docs are not clear
enough):
SetEnvIf X-Forwarded-for ^192.168.0.1 HIDDEN-ADDRESS-OK
Order allow,deny
Allow from my.proxy.com env=HIDDEN-ADDRESS-OK
Deny from all
Best regards,
Manuel.
[ Post a follow-up to this message ]
|