lighttpd/evolution-events.nl: Redirect old /forum urls.
[matthijs/servers/drsnuggles.git] / etc / lighttpd / vhosts / evolution-events-nl
index 7ee627368ea35daf6caea0fe3ee8842666a043ee..7084a2f9352ea541fe21a229299160656354bca6 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$" {
@@ -125,4 +125,24 @@ $HTTP["host"] =~ ".evolution-events.nl$" {
        $HTTP["host"] =~ "^www2.evolution-events.nl$" {
                url.redirect = ( "^(.*)$" => "http://www.evolution-events.nl$1" )
        }
+       
+       # Redirect old forum urls
+       $HTTP["host"] =~ "^deadfoxjunction.evolution-events.nl$" {
+           url.redirect += ( "^/forum(/.*)?$" => "http://www.evolution-events.nl/forum/viewforum.php?f=58" )
+       }
+       $HTTP["host"] =~ "^blackbox.evolution-events.nl$" {
+           url.redirect += ( "^/forum(/.*)?$" => "http://www.evolution-events.nl/forum/viewforum.php?f=57" )
+       }
+       $HTTP["host"] =~ "^exit.evolution-events.nl$" {
+           url.redirect += ( "^/forum(/.*)?$" => "http://www.evolution-events.nl/forum/viewforum.php?f=72" )
+       }
+       $HTTP["host"] =~ "^lextalionis.evolution-events.nl$" {
+           url.redirect += ( "^/forum(/.*)?$" => "http://www.evolution-events.nl/forum/viewforum.php?f=75" )
+       }
+       $HTTP["host"] =~ "^exodus.evolution-events.nl$" {
+           url.redirect += ( "^/forum(/.*)?$" => "http://www.evolution-events.nl/forum/viewforum.php?f=74" )
+       }
+       $HTTP["host"] =~ "^nyderpunxt.evolution-events.nl$" {
+           url.redirect += ( "^/forum(/.*)?$" => "http://www.evolution-events.nl/forum/viewforum.php?f=73" )
+       }
 }