httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark jensen <>
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
      Satisfy any
      AuthName "LDAP Authentication"
      AuthType Basic

      AuthBasicProvider ldap
      AuthzLDAPauthoritative off
      AuthLDAPURL ldap://,dc=com?uid?sub?(objectClass=*)

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?
View raw message