On 01/30/2012 11:07 AM, simo wrote:
locate trac matches my svn checkout in /home/ and .egg files. That's
all!

If it's new, you may need to sudo updatedb.

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>

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

Firstly, it doesn't look like you turned on the RewriteEngine, so those lines aren't doing anything, and I'd leave them commented out until you have the rest of it working.

Also, why are you bothering with fcgi? wsgi is faster, and it's actually what I'm using... I just have old fcgi config around.

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

*shrug* I don't have a trailing slash there (that makes me think "directory" and it's not a directory, it's a file, but who knows what mod_alias does) and it works for me.

ANd now, I have nothing working ...

And the logs look like...?

--
Matthew Caron
Build Engineer
Sixnet | www.sixnet.com
O +1 518 877 5173 Ext. 138
F +1 518 602 9209
matt.ca...@sixnet.com

--
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-users@googlegroups.com.
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.

Reply via email to