# # httpd configuration for contagged LDAP Address Book # Alias /ldapab/ "@@PHPDIR@@/contagged/" ### For ldaps support, Apache 2.4.x (needs mod_ldap) #LDAPTrustedGlobalCert CA_BASE64 /etc/pki/tls/certs/slapd-ca.crt Options Indexes FollowSymLinks AllowOverride None ### By default this application is only accessible from the local host Require local ### To allow access from everywhere, comment out the previous line and ### uncomment the following line #Require all granted ### http Auth with mod_auth_ldap #AuthName "LDAP Address Book" #AuthType Basic #AuthBasicProvider ldap #AuthLDAPURL ldap://ldap.example.com/ou=people,dc=example,dc=com?uid?one ### LDAP Bind information #AuthLDAPBindDN cn=NonAnon,dc=example,dc=com #AuthLDAPBindPassword secret ### For LDAP group authentication #AuthLDAPGroupAttributeIsDN off #AuthLDAPGroupAttribute memberUid #require ldap-group cn=users,ou=Groups,dc=example,dc=com ### Authorize users individually #require ldap-user myusername ### Authorize any authenticated user #require valid-user ### Require SSL for access #SSLRequireSSL Options Indexes FollowSymLinks AllowOverride None Require all granted