[Trac] mod_python and colored diffs

Matthew Gillen mgillen at bbn.com
Fri Jun 10 10:50:41 CDT 2005


Hi,
I'm using Apache+mod_python to run Trac, and the diffs are not colored.
 If I use 'tracd' to run Trac, I get colored diffs no problem.  So I'm
thinking there must be something screwy in my apache config (ie it can't
run enscript or something).

Here's the relavent parts of my apache config file:

Alias /trac/ /usr/share/trac/htdocs/
<Directory "/usr/share/trac/htdocs">
 Options Indexes MultiViews
 AllowOverride None
 Order allow,deny
 Allow from all
</Directory>

<Location /trac>
   SetHandler mod_python
   PythonHandler trac.ModPythonHandler
   PythonOption TracUriRoot "/trac"
   PythonOption TracEnvParentDir /path/to/trac/
</Location>

Anyone have ideas?

Thanks,
Matt


More information about the Trac mailing list