[Trac] mod_python and colored diffs
Emmanuel-G BLOT
emmanuel.blot-gnb at st.com
Fri Jun 10 11:09:42 CDT 2005
Matthew Gillen wrote:
> 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).
Might be a CSS issue. Did you check that the diff.css was available to your web client ?
* Go to the erroneous diff page
* Look at the HTML source. In the header, you'll find something like
<link rel="stylesheet" href="/trac/css/diff.css" type="text/css" />
* Create a new URL and ask the web client to load it: http://server/<href> in the above line,
e.g. from the above example http://server/trac/css/diff.css
If the web client cannot load this page, you probably have a trouble with your Apache
configuration file.
I don't see the relationship between SliverCity (used to highlight source code depending on the
source type) and the diff feature, btw; but I don't know much about the Trac internals ;-)
Cheers,
Manu
More information about the Trac
mailing list