Vhost example for SVN
LDAPSharedCacheSize 200000
LDAPCacheEntries 1024
LDAPCacheTTL 800
LDAPOpCacheEntries 1024
LDAPOpCacheTTL 800
ServerAdmin root@localhost
ServerName myservername.com
DAV svn
SVNParentPath /home/Repositories
SVNListParentPath On
AuthBasicProvider ldap
AuthType Basic
AuthzLDAPAuthoritative off
AuthName "SVN Access"
AuthLDAPURL ldap://:389/OU=myou,DC=mydc,DC=mydc?sAMAccountName?sub?(objectClass=*)
AuthLDAPBindDN cn=ldapreader,OU=Systeme,OU=myou,DC=mydc,DC=mydc
AuthLDAPBindPassword "mypasswd"
Require ldap-group CN=svnaccess,OU=Systeme,OU=myou,DC=mydc,DC=mydc
Require ldap-user svnupdate
AuthzSVNAccessFile /home/svnperm/svn.auth
ScriptAlias /viewvc /usr/lib/cgi-bin/viewvc.cgi
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
# Order allow,deny
# Allow from all
AuthBasicProvider ldap
AuthType Basic
AuthzLDAPAuthoritative off
AuthName "Viewvc Access"
AuthLDAPURL ldap://myldapserver:389/OU=myou,DC=mydc,DC=mydc?sAMAccountName?sub?(objectClass=*)
AuthLDAPBindDN cn=ldapreader,OU=Systeme,OU=myou,DC=mydc,DC=mydc
AuthLDAPBindPassword "mypasswd"
Require ldap-group CN=svnaccess,OU=Systeme,OU=myou,DC=mydc,DC=mydc
Require ldap-user svnupdate
ErrorLog /var/log/apache2/svn-error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /var/log/apache2/svn-access.log combined