From: Matthijs Kooijman Date: Sun, 13 Feb 2011 16:29:37 +0000 (+0100) Subject: lighttpd: Move the EE orga forum back to orga.evolution-events.nl X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=1be6165979e711e149ba9ec2dd1784c3a76c8770;p=matthijs%2Fservers%2Fdrsnuggles.git lighttpd: Move the EE orga forum back to orga.evolution-events.nl --- diff --git a/etc/lighttpd/vhosts/evolution-events-nl b/etc/lighttpd/vhosts/evolution-events-nl index 7ee6273..d4504df 100644 --- a/etc/lighttpd/vhosts/evolution-events-nl +++ b/etc/lighttpd/vhosts/evolution-events-nl @@ -48,10 +48,10 @@ $HTTP["host"] =~ ".evolution-events.nl$" { # Enable dirlistings for /private server.dir-listing = "enable" } + } - url.rewrite-once += ( - "^/forum/(.+)$" => "/forum/", - ) + $HTTP["host"] =~ "^orga-forum.evolution-events.nl$" { + url.redirect = ( ".*" => "http://orga.evolution-events.nl/forum" ) } $HTTP["host"] =~ "^hunter-net.evolution-events.nl$" {