Changes between Version 10 and Version 11 of ModPython
- Timestamp:
- Jun 29, 2004, 4:02:10 PM (20 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ModPython
v10 v11 20 20 SetHandler mod_python 21 21 PythonHandler trac.ModPythonHandler 22 PythonOption TracUriRoot /trac/myproject 22 23 PythonOption TracEnv /var/svn/trac/myproject 23 24 </Location> 24 25 }}} 25 26 26 ''Note: you might need to create a real physical {{{trac/}}} directory (name matches the first location path segment from the above example) inside your !DocumentRoot so that Trac can figure out the correct base location. That seems to be a problem (or feature?) with mod_python.''27 27 28 28 == Setting up multiple projects == … … 36 36 SetHandler mod_python 37 37 PythonHandler trac.ModPythonHandler 38 PythonOption TracUriRoot /trac 38 39 PythonOption TracEnvParentDir "/var/www/projects" 39 40 </LocationMatch> … … 52 53 </LocationMatch> 53 54 <Location /trac/exampleone> 55 PythonOption TracUriRoot "/trac/exampleone" 54 56 PythonOption TracEnv "/var/www/projects/exampleone" 55 57 </Location> 56 58 <Location /trac/exampletwo> 59 PythonOption TracUriRoot "/trac/exampletwo" 57 60 PythonOption TracEnv "/var/www/projects/exampletwo" 58 61 </Location>