locate trac matches my svn checkout in /home/ and .egg files. That's
all!

This is now the content of my .htaccess file :

--------------------------------
<IfModule mod_fastcgi.c>
        AddHandler fastcgi-script .fcgi
</IfModule>

FastCgiConfig -initial-env TRAC_ENV=/var/trac/linea21

<VirtualHost *>
        ErrorLog  /var/log/apache2/error.dev.linea21.com.log
        CustomLog /var/log/apache2/access.dev.linea21.com.log combined

        ScriptAlias /trac /home/simon/0.12dev/cgi-bin/trac.fcgi/

        # Redirect bare requests to /trac
        RewriteCond %{REQUEST_URI} ^/$
        RewriteRule ^(.*)$ http://dev.linea21.com/trac%{REQUEST_URI}
</VirtualHost>

--------------------------------

I also added the slash at the end of ScriptAlias since it seems it's
needed ( http://trac.edgewall.org/wiki/TracFastCgi#Setupwithmod_fcgid
)
ANd now, I have nothing working ...

I'll make some more tests and let you know. Others ideas are welcome.




On 30 jan, 16:17, Matthew Caron <[email protected]> wrote:
> On 01/30/2012 09:48 AM, simo wrote:
>
> > 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/ .... !
>
> I don't have a trac folder in /usr/share either.
>
> > Is that normal? Where can it be? How can I find it ?
>
> Wouldn't:
>
> locate trac
>
> find things?
>
> > 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/
>
> yeah, that's odd - it's trying to find the script:
>
>   /home/simon/0.12dev/cgi-bin/trac.fcgivar
>
> why is there a var on the end?
>
> > [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/
>
> Ahaaaaa... and here's this!
>
> It's trying to go to:
>
> dev.linea21.com/var
>
> and:
>
> dev.linea21.com/chrome
>
> So, remove the base URL, and you get:
>
> /var
> /chrome
>
> Except / is an alias for /home/simon/0.12dev/cgi-bin/trac.fcgi. Subbing
> that in, you get:
>
> /home/simon/0.12dev/cgi-bin/trac.fcgi/var
> /home/simon/0.12dev/cgi-bin/trac.fcgi/chrome
>
> And there is your problem.
>
> Try my suggestion of changing the ScriptAlias to /trac instead of /.
>
> > 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...
>
> Good luck with that. I'd be very afraid of running something with no
> security updates. I just finished upgrading all my machines to 10.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.

Reply via email to