| 1 | Trac 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 | |
| 3 | Here's a typical Trac CGI/Apache setup: |
| 4 | |
| 5 | {{{ |
| 6 | ScriptAlias /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 | |
| 12 | The 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 | }}} |