1234567891011121314151617181920212223242526272829303132333435363738394041 |
- <IfDefine LDAP>
- <IfModule !util_ldap.c>
- LoadModule ldap_module modules/mod_ldap.so
- </IfModule>
- </IfDefine>
- <IfDefine AUTH_LDAP>
- <IfModule !mod_auth_ldap.c>
- LoadModule auth_ldap_module modules/mod_auth_ldap.so
- </IfModule>
- </IfDefine>
- # Examples below are taken from the online documentation
- # Refer to:
- # http://localhost/manual/mod/mod_ldap.html
- # http://localhost/manual/mod/mod_auth_ldap.html
- <IfModule util_ldap.c>
- LDAPSharedCacheSize 200000
- LDAPCacheEntries 1024
- LDAPCacheTTL 600
- LDAPOpCacheEntries 1024
- LDAPOpCacheTTL 600
- <Location /ldap-status>
- SetHandler ldap-status
- Order deny,allow
- Deny from all
- Allow from 127.0.0.1
- </Location>
- </IfModule>
- <IfModule mod_auth_ldap.c>
- #AuthLDAPURL ldap://ldap1.airius.com:389/ou=People, o=Airius?uid?sub?(objectClass=*)
- #require valid-user
- </IfModule>
|