[Trac] mod_python and colored diffs

Emmanuel-G BLOT emmanuel.blot-gnb at st.com
Fri Jun 10 11:38:21 CDT 2005


> Now bringing up 'http://hostname/trac/css/trac.css' shows the contents
> of the css file, as expected.  However, replacing changeset.css for
> trac.css brings me to the top-level start page (ie project listing; just
> like any malformed URL that trac can't figure out).  Interestingly, the
> diff.css seems ok (ie just like trac.css).

I'm not sure how this (your config file) exactly works:

 > Alias /trac/ /usr/share/trac/htdocs/
 > ...
 > <Location /trac>
 > </Location>

Wouldn't there be some kind of confusion between URL served by Apache (such as CSS files) and 
URL handled by the Trac engine ?

I'm not using the same release of Trac than you, and I do not use the multiple repository 
configuration. In other words, I have one <Location /trac/project> for each project. May be you 
can start with the single project model, check if this works, then move to the multiple project 
configuration.
In any case, I'm not sure whether it is a good idea to have /trac path being defined for both 
Apache regular files (the Alias directive) and the mod_python handler (the Location directive)

Cheers,
Manu




More information about the Trac mailing list