lighttpd: Move the EE orga forum back to orga.evolution-events.nl
authorMatthijs Kooijman <matthijs@stdin.nl>
Sun, 13 Feb 2011 16:29:37 +0000 (17:29 +0100)
committerMatthijs Kooijman <matthijs@stdin.nl>
Sun, 13 Feb 2011 16:29:37 +0000 (17:29 +0100)
etc/lighttpd/vhosts/evolution-events-nl

index 7ee627368ea35daf6caea0fe3ee8842666a043ee..d4504dfa0471c03039b2ad9199baa3b6a522777e 100644 (file)
@@ -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$" {