On Fri, 2006-07-21 at 16:39 +1200, Tomek Piatek wrote:
> I've just spent a whole bloody day trying to get Trac to work with
> FastCGI through LighHTTPd. I got it all going in the end but there is
> one oddity which really bugs me.  I have a host named
> trac.mydomain.com. I've set up Trac/FastCGI in lighttp to serve
> multiple projects off http://trac.mydomain.com. When I go to that URL
> I get the page which lists all the Trac projects. Great so far. But
> when I click on any project it takes me back to the project list page.
> If I then click on a project again it will finally take me to the
> project starting page. For example, http://trac.mydomain.com/test does
> not take me to the "test" project but back to the same page at which
> point the link for "test" becomes
> "http://trac.mydomain.com/test/test";. This link then works. In fact to
> get to any project I can type any garbage in the URL between the host
> name and the project name, like so:
> http://trac.mydomain.com/anygarbagehere/test.


This is a bug in lighttpd triggered when the "fastcgi.server" URL
mapping ends in "/":
http://trac.lighttpd.net/trac/ticket/729


...snip...
>     else $HTTP["url"] =~ "^/" {
>         fastcgi.server = ( "/" =>
>             ( "trac" =>

Try using:
          fastcgi.server = ("" =>

instead of "/" in your mapping.


-- 
Matthew Good <[EMAIL PROTECTED]>

_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac

Reply via email to