Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Alias /cgit-data /usr/share/cgit
- ScriptAlias /cgit /var/www/cgi-bin/cgit
- <Directory /var/www/cgi-bin/>
- order deny,allow
- allow from all
- AuthName "Authorization Required"
- AuthType Basic
- AuthBasicProvider ldap
- AuthzLDAPAuthoritative Off
- AuthLDAPUrl ldap://127.0.0.1:389/ou=Users,domainName=example.com,o=domains,dc=mail,dc=example,dc=com?mail?sub?(&(enabledservice=cgit)(accountStatus=active))
- AuthLDAPBindDN "cn=vmail,dc=mail,dc=example,dc=com"
- AuthLDAPBindPassword "90452388210931115272168025648"
- Require valid-user
- </Directory>
Add Comment
Please, Sign In to add comment