[Trac] Help configuring mod_python

Christian Boos cboos at neuf.fr
Sun Jul 23 03:48:12 CDT 2006


Kenneth Aird wrote:
> I've been using trac happily for over a year on Red Hat 9. Recently we
> upgraded our system to Red Hat Enterprise Linux 64 bit. We copied all 
> files
> to the new server and I re-installed trac from rpm's using the 
> instructions
> at
>
> http://trac.edgewall.org/wiki/TracOnRhel4
>
> I ran trac-admin /home/trac/trac_spt upgrade and everything was 
> working, but
> after we did a final copy of user files, the trac wiki stopped 
> working. The
> problems seemed to be related to my CGI configuration for apache, so I 
> tried
> switching to mod_python. That works better, and all the subversion access
> pages are working, but when I try to access a wiki page, for example
>
> https://spt.uchicago.edu/trac/wiki/TitleIndex
>
> I get the error:
>
> Not Found
>
> The requested URL /trac/wiki.png/TitleIndex was not found on this server.
>
Apparently it's not only the wiki:
https://spt.uchicago.edu/trac/changeset/1 -> The requested URL 
/trac/changeset.png/1 was not found on this server.

On the other hand, this works:
https://spt.uchicago.edu/trac/about

I bet you have a nasty rewrite rule somewhere in your apache conf, like 
trac/(.*)/(.*) -> trac/\1.png/\2

-- Christian


More information about the Trac mailing list