evhost.path-pattern = var.site-dir + "/htdocs/%3/"
accesslog.filename = var.site-dir + "/logs/access.log"
- fastcgi.server = (
- ".php" =>
- ((
- "socket" => var.site-fcgi-dir + "/php",
- "broken-scriptfilename" => "enable",
- ))
- )
-
$HTTP["host"] =~ "git.stderr.nl$" {
cgi.assign += ( "gitweb.cgi" => "" )
# Put this alias in a url conditional, so urls like /gitweb.css won't get alias'd
# ))
#)
}
+
+ # Put the php fastcgi server last, so it won't trigger on any urls that
+ # should be handled by other fastcgi servers (for example, viewing a
+ # .php file in trac results in an url /trac/.../foo.php).
+ fastcgi.server += (
+ ".php" =>
+ ((
+ "socket" => var.site-fcgi-dir + "/php",
+ "broken-scriptfilename" => "enable",
+ ))
+ )
}