Hello, thanks a lot Matthew, that was it. Works fine now ;-)
Have a nice day. Greetings from Germany. Mit freundlichem Gruß Maikel Urlitzki Industrie Tycoon www.industrie-tycoon.de -----Ursprüngliche Nachricht----- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Matthew Good Gesendet: Dienstag, 23. Mai 2006 00:37 An: [email protected] Betreff: Re: [Trac] PHP Files in SourceBrowser = Error 404 On Mon, 2006-05-22 at 23:57 +0200, Maikel Urlitzki wrote: > 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 This is a problem with the precedence of your configuration options. Lighttpd sees the ".php" at the end of the URL and tries to process it with PHP instead of going through trac.cgi. Try changing the order of the mappings for ".cgi" and ".php". I have lighttpd running Trac and PHP via FastCGI and moving the "/trac" setting before ".php" in "fastcgi.server" fixed this. -- Matthew Good <[EMAIL PROTECTED]> _______________________________________________ Trac mailing list [email protected] http://lists.edgewall.com/mailman/listinfo/trac _______________________________________________ Trac mailing list [email protected] http://lists.edgewall.com/mailman/listinfo/trac
