SOURCES: trac-lighttpd.conf - set only fastcgi server for /trac, so global ...

glen glen at pld-linux.org
Wed Oct 8 17:35:40 CEST 2008


Author: glen                         Date: Wed Oct  8 15:35:40 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- set only fastcgi server for /trac, so global fastcgi.server for *.php is not seen and allows you browse files with .php extension

---- Files affected:
SOURCES:
   trac-lighttpd.conf (1.6 -> 1.7) 

---- Diffs:

================================================================
Index: SOURCES/trac-lighttpd.conf
diff -u SOURCES/trac-lighttpd.conf:1.6 SOURCES/trac-lighttpd.conf:1.7
--- SOURCES/trac-lighttpd.conf:1.6	Thu Aug  7 16:15:42 2008
+++ SOURCES/trac-lighttpd.conf	Wed Oct  8 17:35:35 2008
@@ -36,8 +36,9 @@
 
 $HTTP["url"] =~ "^/trac/([^/]+/)?chrome/" {
 	# no fastcgi
+
 } else $HTTP["url"] =~ "^/trac" {
-	fastcgi.server += (
+	fastcgi.server = (
 		"/trac" => (
 			(
 				"bin-path"		=> "/usr/share/trac/cgi-bin/trac.fcgi",
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/trac-lighttpd.conf?r1=1.6&r2=1.7&f=u



More information about the pld-cvs-commit mailing list