Thanks for your help ... I think I should give you more information. Sorry for not saying that before.
Actually, as I said, I've installed trac using easy_install. There is a python egg in /usr/lib/python2.5/site-packages but I can't find any trac folder into /usr/share/ .... ! Is that normal? Where can it be? How can I find it ? I've created an alias to sources (I got from svn) in /home/simon/ 0.12dev/cgi-bin/trac.fcgi ... but It seems it does not work since apache error logs are, as followed : -------------------------------------- [Mon Jan 30 13:58:55 2012] [error] [client 81.185.145.232] script not found or unable to stat: /home/simon/0.12dev/cgi-bin/trac.fcgivar, referer: http://dev.linea21.com/ [Mon Jan 30 13:58:55 2012] [error] [client 81.185.145.232] script not found or unable to stat: /home/simon/0.12dev/cgi-bin/trac.fcgichrome, referer: http://dev.linea21.com/ [Mon Jan 30 13:58:56 2012] [error] [client 81.185.145.232] script not found or unable to stat: /home/simon/0.12dev/cgi-bin/trac.fcgivar, referer: http://dev.linea21.com/ [Mon Jan 30 13:58:56 2012] [error] [client 81.185.145.232] script not found or unable to stat: /home/simon/0.12dev/cgi-bin/trac.fcgivar, referer: http://dev.linea21.com/ [Mon Jan 30 13:58:56 2012] [error] [client 81.185.145.232] script not found or unable to stat: /home/simon/0.12dev/cgi-bin/trac.fcgichrome, referer: http://dev.linea21.com/ [Mon Jan 30 13:58:56 2012] [error] [client 81.185.145.232] script not found or unable to stat: /home/simon/0.12dev/cgi-bin/trac.fcgivar, referer: http://dev.linea21.com/ [Mon Jan 30 13:59:29 2012] [error] [client 220.181.94.233] script not found or unable to stat: /home/simon/0.12dev/cgi-bin/trac.fcgitimeline [Mon Jan 30 14:00:41 2012] [error] [client 180.76.5.65] script not found or unable to stat: /home/simon/0.12dev/cgi-bin/trac.fcgibrowser [Mon Jan 30 14:00:42 2012] [error] [client 180.76.5.147] script not found or unable to stat: /home/simon/0.12dev/cgi-bin/trac.fcgibrowser -------------------------------------- Matthew > Regarding Ubuntu 8.04, My hosting provider has stop maintenance on the service I get so there is no upgrade anymore. Since, I've just made a clean install, I keep it for some times... Thanks for your help, I'm really lost! On 30 jan, 14:40, Matthew Caron <[email protected]> wrote: > On 01/27/2012 09:52 AM, simo wrote: > > > Hi list, > > > I've trac 0.12 installed on my server. I used it for a while using > > mod_python but it made apache cpu overloaded an crashed. > > > I'm switching in now to fastcgi mod. It's getting ok but I still have > > 2 main problems : > > - CSS styles are not loaded anymore (and js I guess) > > - I'm able to display the root page but any page throw a 404 error. > > I bet these two are related - it likely can't find them. > > What do the apache logs say when you get a 404? > > > DocumentRoot /var/trac/linea21 > > ScriptAlias / /home/simon/0.12dev/cgi-bin/trac.fcgi > > I concur with Mark Cooke. This seems wrong. My setup transposed to yours > would be: > > ScriptAlias /trac /home/simon/0.12dev/cgi-bin/trac.fcgi > > Try that. I know it won't give you the "I go to the base servername and > get what I want", but that's what redirect rules are for. I have the > following, transposed to your sites: > > # Redirect bare requests to /trac > RewriteCond %{REQUEST_URI} ^/$ > RewriteRule ^(.*)$https://dev.linea21.com/trac%{REQUEST_URI} > > (And it occurs to me that the above is actually overly complex, but it's > been in production for 3 years so I'm loathe to change it just for the > sake of style). However, the following should work just fine: > > RewriteRule ^/$ /trac/ [R] > > (The [R] makes it a redirect) > > > I run trac 0.12 on apache2 with fastcgi_mod on ubuntu server 8.04 > > You know Ubuntu 8.04 is going to be EOL in April of 2013, right? If this > is a new installation, you might consider upgrading.. or are you waiting > for 12.04? > > -- > Matthew Caron > Build Engineer > Sixnet |www.sixnet.com > O +1 518 877 5173 Ext. 138 > F +1 518 602 9209 > [email protected] -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
