Edgewall Software

Changes between Initial Version and Version 1 of ModPython


Ignore:
Timestamp:
May 30, 2004, 11:04:27 PM (20 years ago)
Author:
trac@…
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • ModPython

    v1 v1  
     1Trac 0.8 and later (not yet released) supports [http://www.modpython.org/ mod_python], which speeds up Trac's response times considerably and permits use of many Apache features not possible with tracd/mod_proxy.
     2
     3Here's a typical Trac CGI/Apache setup:
     4
     5{{{
     6ScriptAlias /trac/myproject /path/to/python/share/trac/cgi-bin/trac.cgi
     7<Location /trac/myproject>
     8   SetEnv TRAC_ENV /var/svn/trac/myproject
     9</Location>
     10}}}
     11
     12The equivalent mod_python setup is:
     13
     14{{{
     15<Location /trac/myproject>
     16   SetHandler mod_python
     17   PythonHandler trac.ModPythonHandler
     18   PythonOption TracEnv /var/svn/trac/myproject
     19</Location>
     20}}}