Maikel Urlitzki schrieb:
Hello List,

i use lighttpd and use trac as cgi in lighttpd.

All works fine, but if i browse my svn repos, and click on a php file in it, ive got a 404 error message from my lighttpd.

I dont know whats the problem.

lighttpd 1.4.11
php 5.1.4
trac 0.9.5
on debian sarge
Might it be that
 a) *.php files are being handled by your php-cgi
and
 b) that /trac and descendants are being filtered through trac-cgi

so if you try to access
/trac/<someproject>/browser/some/path/to/a/file.php

the a) rule hits first but cannot find the (virtual) /trac directory..?

I have absolutely no idea about lighttpd, but try to give the "trac rule" precedence over the "*.php" rule (make it hit first).

That way, "/trac/blah,blah,blah/file" should be filtered through trac-cgi and served even if it ends in php.

"*.php files which are _not below "/trac" are filtered through php-cgi (/trac rule does not apply then)


Hope this helps!

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

Reply via email to