Fixing a path in the trac ldap part. Too much slashes make things go wrong.

svn path=/nixos/trunk/; revision=26786
This commit is contained in:
Lluís Batlle i Rossell 2011-04-11 19:43:48 +00:00
parent 9c492e34bb
commit 82a0aa0a8f

View File

@ -79,7 +79,7 @@ in
PythonOption PYTHON_EGG_CACHE /var/trac/egg-cache PythonOption PYTHON_EGG_CACHE /var/trac/egg-cache
</Location> </Location>
${if config.ldapAuthentication.enable then '' ${if config.ldapAuthentication.enable then ''
<LocationMatch "^${config.projectsLocation}/[^/]+/login$"> <LocationMatch "^${config.projectsLocation}[^/]+/login$">
AuthType Basic AuthType Basic
AuthName "${config.ldapAuthentication.name}" AuthName "${config.ldapAuthentication.name}"
AuthBasicProvider "ldap" AuthBasicProvider "ldap"