httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark jensen <ngiw2...@hotmail.com>
Subject [users@httpd] Use Allow from IP when there is a proxy exist?
Date Thu, 07 Aug 2014 21:19:10 GMT
we know that we can allow some IPS with out authentication using Allow from IP:

<Directory /var/www/html/template>
      Order allow,deny
      Allow from 192.168.1.5
      Satisfy any
      AuthName "LDAP Authentication"
      AuthType Basic

      AuthBasicProvider ldap
      AuthzLDAPauthoritative off
      AuthLDAPURL ldap://192.168.1.3/dc=example,dc=com?uid?sub?(objectClass=*)
</Directory>

But what if we use proxy (squid) in front, then the source IP will be the proxy IP, How can
I make Apache to deal with the client IP not the proxy IP?
 		 	   		  
Mime
View raw message