From 0cfcaed8b5a775e19365bfa591fa2e4e44301d58 Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Sat, 9 May 2009 17:46:58 +0200 Subject: [PATCH] lighttpd: Only catch /trac/ urls with trac. Previously, urls like /tracker would also trigger trac. --- etc/lighttpd/vhosts/stderr-nl | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/etc/lighttpd/vhosts/stderr-nl b/etc/lighttpd/vhosts/stderr-nl index 5ece6d9..addedc8 100644 --- a/etc/lighttpd/vhosts/stderr-nl +++ b/etc/lighttpd/vhosts/stderr-nl @@ -29,13 +29,15 @@ $HTTP["host"] =~ ".stderr.nl$" { ) # Only publish the pandora trac repos here url.redirect += ("^/trac/?$" => "/trac/pandora") - fastcgi.server += ( - "/trac" => - (( - "socket" => var.site-fcgi-dir + "/trac", - "check-local" => "disable", - )) - ) + $HTTP["url"] =~ "^/trac/.*" { + fastcgi.server += ( + "/trac" => + (( + "socket" => var.site-fcgi-dir + "/trac", + "check-local" => "disable", + )) + ) + } } $HTTP["host"] =~ "^drsnuggles.stderr.nl$" { -- 2.30.2