Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. <IfModule python_module>
  2.  
  3. RedirectMatch ^(/trac)$ $1/
  4.  
  5. <LocationMatch "/trac/[^/]+/login">
  6.   AuthType Basic
  7.   AuthName "Trac"
  8.  
  9.   AuthBasicProvider ldap
  10.   AuthzLDAPAuthoritative off
  11.   AuthLDAPBindDN "CN=ussvn,OU=Users_App,DC=incolume,DC=com,DC=br"
  12.   AuthLDAPBindPassword 5n2012
  13.   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
  14.  
  15.   Require valid-user
  16.   Order allow,deny
  17.   Allow from 10.0.0.0/8
  18. </LocationMatch>
  19.  
  20. #-------------------------------------------------
  21. <Location /trac/proj1>
  22.    SetHandler mod_python
  23.    #PythonDebug on
  24.    PythonHandler trac.web.modpython_frontend
  25.    PythonOption TracEnv /storage/trac/proj1
  26.    PythonOption TracUriRoot /trac/proj1
  27. </Location>
  28. #-------------------------------------------------
  29. <Location /trac/proj2>
  30.    SetHandler mod_python
  31.    #PythonDebug on
  32.    PythonHandler trac.web.modpython_frontend
  33.    PythonOption TracEnv /storage/trac/proj2
  34.    PythonOption TracUriRoot /trac/proj2
  35. </Location>
  36. #-------------------------------------------------
  37. <Location /trac/proj3>
  38.    SetHandler mod_python
  39.    #PythonDebug on
  40.    PythonHandler trac.web.modpython_frontend
  41.    PythonOption TracEnv /storage/trac/proj3
  42.    PythonOption TracUriRoot /trac/proj3
  43. </Location>
  44. #-------------------------------------------------
  45. <Location /trac/proj4>
  46.    SetHandler mod_python
  47.    #PythonDebug on
  48.    PythonHandler trac.web.modpython_frontend
  49.    PythonOption TracEnv /storage/trac/proj4
  50.    PythonOption TracUriRoot /trac/proj4
  51. </Location>
  52. #-------------------------------------------------
  53. <Location /trac/proj5>
  54.    SetHandler mod_python
  55.    #PythonDebug on
  56.    PythonHandler trac.web.modpython_frontend
  57.    PythonOption TracEnv /storage/trac/proj5
  58.    PythonOption TracUriRoot /trac/proj5
  59. </Location>
  60. #-------------------------------------------------
  61. <Location /trac/sandbox>
  62.    SetHandler mod_python
  63.    #PythonDebug on
  64.    PythonHandler trac.web.modpython_frontend
  65.    PythonOption TracEnv /storage/trac/sandbox
  66.    PythonOption TracUriRoot /trac/sandbox
  67. </Location>
  68. #-------------------------------------------------
  69. <Location /trac/proj6>
  70.    SetHandler mod_python
  71.    #PythonDebug on
  72.    PythonHandler trac.web.modpython_frontend
  73.    PythonOption TracEnv /storage/trac/proj6
  74.    PythonOption TracUriRoot /trac/proj6
  75.  
  76.    require ldap-group CN=USG_SVN_COTER,CN=Users,DC=incolume,DC=com,DC=br
  77.    require ldap-group CN=USG_SVN_SERPRO_SIMPR,CN=Users,DC=incolume,DC=com,DC=br
  78. </Location>
  79. #-------------------------------------------------