> -----Original Message----- > From: [email protected] On Behalf Of simo > Sent: 30 January 2012 13:09 > To: Trac Users > Subject: [Trac] Re: installing trac 0.12 in fastcgi mod. > Apache configuration issue > > To be more precise, I have installed Trac using easy_install so I have > an egg into /usr/lib/python2.5/site-packages and my project repo is / > var/trac/linea21. > > Thanks > > > On 27 jan, 15:52, simo <[email protected]> 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. > > > > Here is my root page :http://dev.linea21.com/ > > > > and this is how I configure my .htaccess file : > > > -------------------------------------------------------------- > ----------- > > > > <IfModule mod_fastcgi.c> > > AddHandler fastcgi-script .fcgi > > </IfModule> > > > > FastCgiConfig -initial-env TRAC_ENV=/var/trac/linea21 > > > > <VirtualHost *> > > ServerAdmin [email protected] > > ServerName dev.linea21.com > > > > DocumentRoot /var/trac/linea21 > > ScriptAlias / /home/simon/0.12dev/cgi-bin/trac.fcgi
...umm, I'm no expert but doesn't that ScriptAlias directive mean that ALL URLs are mapped to trac.fcgi? I am surprised that your svn stuff works with this. http://httpd.apache.org/docs/2.2/mod/mod_alias.html#scriptalias ~ mark c > > <Location "/trac"> > > SetEnv TRAC_ENV "/var/trac/linea21" > > </Location> > > > > <Directory "/home/simon/0.12dev/cgi-bin/"> > > AllowOverride None > > Options None > > Order allow,deny > > Allow from all > > </Directory> > > > > <Location /svn> > > # it seems my svn settings are ok > > </Location> > > </VirtualHost> > > > -------------------------------------------------------------- > ----------- > > > > Any help would be very appreciated! > > > > I run trac 0.12 on apache2 with fastcgi_mod on ubuntu server 8.04 > -- 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.
