<IfModule python_module>
RedirectMatch ^(/trac)$ $1/
<LocationMatch "/trac/[^/]+/login">
AuthType Basic
AuthName "Trac"
AuthBasicProvider ldap
AuthzLDAPAuthoritative off
AuthLDAPBindDN "CN=ussvn,OU=Users_App,DC=incolume,DC=com,DC=br"
AuthLDAPBindPassword 5n2012
AuthLDAPURL "ldaps://10.0.0.5:636/CN=Users,dc=incolume,dc=com,dc=br?sAMAccountName?sub?(&(|(memberof=CN=USG_SVN_ADMIN,CN=Users,DC=incolume,DC=com,DC=br)(memberof=CN=USG_SVN_GRP1,CN=Users,DC=incolume,DC=com,DC=br)(memberof=CN=USG_SVN_DEV,CN=Users,DC=incolume,DC=com,DC=br)(memberof=CN=USG_SVN_GRP2,CN=Users,DC=incolume,DC=com,DC=br)(memberof=CN=USG_SVN_GRP3,CN=Users,DC=incolume,DC=com,DC=br)(memberof=CN=USG_SVN_GRP4,CN=Users,DC=incolume,DC=com,DC=br)(memberof=CN=USG_SVN_PLONE,CN=Users,DC=incolume,DC=com,DC=br)(memberof=CN=USG_SVN_GRP5,CN=Users,DC=incolume,DC=com,DC=br))(objectClass=user))" SSL
Require valid-user
Order allow,deny
Allow from 10.0.0.0/8
</LocationMatch>
#-------------------------------------------------
<Location /trac/proj1>
SetHandler mod_python
#PythonDebug on
PythonHandler trac.web.modpython_frontend
PythonOption TracEnv /storage/trac/proj1
PythonOption TracUriRoot /trac/proj1
</Location>
#-------------------------------------------------
<Location /trac/proj2>
SetHandler mod_python
#PythonDebug on
PythonHandler trac.web.modpython_frontend
PythonOption TracEnv /storage/trac/proj2
PythonOption TracUriRoot /trac/proj2
</Location>
#-------------------------------------------------
<Location /trac/proj3>
SetHandler mod_python
#PythonDebug on
PythonHandler trac.web.modpython_frontend
PythonOption TracEnv /storage/trac/proj3
PythonOption TracUriRoot /trac/proj3
</Location>
#-------------------------------------------------
<Location /trac/proj4>
SetHandler mod_python
#PythonDebug on
PythonHandler trac.web.modpython_frontend
PythonOption TracEnv /storage/trac/proj4
PythonOption TracUriRoot /trac/proj4
</Location>
#-------------------------------------------------
<Location /trac/proj5>
SetHandler mod_python
#PythonDebug on
PythonHandler trac.web.modpython_frontend
PythonOption TracEnv /storage/trac/proj5
PythonOption TracUriRoot /trac/proj5
</Location>
#-------------------------------------------------
<Location /trac/sandbox>
SetHandler mod_python
#PythonDebug on
PythonHandler trac.web.modpython_frontend
PythonOption TracEnv /storage/trac/sandbox
PythonOption TracUriRoot /trac/sandbox
</Location>
#-------------------------------------------------
<Location /trac/proj6>
SetHandler mod_python
#PythonDebug on
PythonHandler trac.web.modpython_frontend
PythonOption TracEnv /storage/trac/proj6
PythonOption TracUriRoot /trac/proj6
require ldap-group CN=USG_SVN_COTER,CN=Users,DC=incolume,DC=com,DC=br
require ldap-group CN=USG_SVN_SERPRO_SIMPR,CN=Users,DC=incolume,DC=com,DC=br
</Location>
#-------------------------------------------------