[Trac] Help configuring mod_python
Kenneth Aird
ken at kenaird.com
Sun Jul 23 05:15:52 CDT 2006
Christian,
You were right. Apparently the rpm install put a sample trac.conf file in
/etc/httpd/conf.d/ containing the following:
Alias /trac/ "/usr/share/trac/htdocs/"
It seems to me that sample files should not be put in places where they are
active by default.
Thanks for the help.
Ken
On 7/23/06, Kenneth Aird <ken at kenaird.com> wrote:
>
>
>
> On 7/23/06, Christian Boos <cboos at neuf.fr> wrote:
> >
> > 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
>
>
> I don't think so. I've attached my entire httpd.conf file (I did not
> before for security reasons, in case we messed up and left some obvious
> exploit in it). I have not edited any other apache files for trac, unless
> the trac rpm install script does something by default.
>
> Ken
>
> -- Christian
> > _______________________________________________
> > Trac mailing list
> > Trac at lists.edgewall.com
> > http://lists.edgewall.com/mailman/listinfo/trac
> >
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.edgewall.com/archive/trac/attachments/20060723/8d562a12/attachment.html
More information about the Trac
mailing list