ServerAdmin webmaster@localhost
ServerName <%= @APP_CONFIG[:server][:hostname] %>
DocumentRoot <%= @APP_CONFIG[:dirs][:document] %>
ErrorLog <%= @APP_CONFIG[:dirs][:log] %>/error.<%= @APP_CONFIG[:server][:hostname] %>.log
CustomLog <%= @APP_CONFIG[:dirs][:log] %>/access.<%= @APP_CONFIG[:server][:hostname] %>.log combined
LogLevel error
RewriteEngine On
RewriteRule ^/$ http://<%= @APP_CONFIG[:server][:hostname] %>/saint/public
RewriteRule ^/index*$ http://<%= @APP_CONFIG[:server][:hostname] %>/saint/public
AuthType Basic
AuthName 'SaintDigitalSourceRepository'
AuthUserFile <%= @APP_CONFIG[:dirs][:install] %>/passwords
#Require valid-user
AuthBasicProvider file ldap
AuthLDAPBindDN 'CN=WTMS LDAP Auth,OU=WTMS,OU=STS,OU=Europe,OU=EMEA-YR-LON-GLH,OU=EMEA-YR-LON,OU=EMEA-YR,DC=emea,DC=corp,DC=yr,DC=com'
AuthLDAPBindPassword 'l00kmeup'
AuthLDAPURL 'ldap://emea-root03.emea.corp.yr.com:389/dc=emea,dc=corp,dc=yr,dc=com?sAMAccountName?sub?(&(objectClass=user)(memberOf=cn=EMEA-YR-LON-GLH-SAINT-DEVELOPERS,ou=Groups,ou=Saint,ou=RKCRYR,ou=EMEA-YR-LON-GLH,ou=EMEA-YR-LON,ou=EMEA-YR,dc=emea,dc=corp,dc=yr,dc=com))'
AuthzLDAPAuthoritative off
>
DAV svn
SVNParentPath <%= @APP_CONFIG[:dirs][:svn] %>/
SVNListParentPath On
SVNAutoversioning On
SVNReposName 'SaintDigitalSourceRepository'
Include <%= @APP_CONFIG[:dirs][:conf_locations] %>/*