Guest User

Untitled

a guest
Jan 23rd, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. Alias /cgit-data /usr/share/cgit
  2. ScriptAlias /cgit /var/www/cgi-bin/cgit
  3.  
  4. <Directory /var/www/cgi-bin/>
  5. order deny,allow
  6. allow from all
  7.  
  8. AuthName "Authorization Required"
  9. AuthType Basic
  10.  
  11. AuthBasicProvider ldap
  12. AuthzLDAPAuthoritative Off
  13.  
  14. 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))
  15.  
  16. AuthLDAPBindDN "cn=vmail,dc=mail,dc=example,dc=com"
  17. AuthLDAPBindPassword "90452388210931115272168025648"
  18.  
  19. Require valid-user
  20. </Directory>
Add Comment
Please, Sign In to add comment