lighttpd: Add redirects for deprecated EE domains.
authorMatthijs Kooijman <matthijs@stdin.nl>
Tue, 5 Jan 2010 12:53:30 +0000 (13:53 +0100)
committerroot <root@www.drsnuggles.stderr.nl>
Tue, 5 Jan 2010 12:56:09 +0000 (13:56 +0100)
etc/lighttpd/vhosts/evolution-events-nl

index 933cdcfcb4448a1f5ff847d6e7f5fc70910d154f..848f47564f44c46b85dbbb062e30aa284e4839a9 100644 (file)
@@ -94,4 +94,18 @@ $HTTP["host"] =~ ".evolution-events.nl$" {
                        "^(/.*)$" => "/blaa$1",
                )
        }
+       
+       # Redirect some deprecated urls.
+       $HTTP["host"] =~ "^lextalionis2.evolution-events.nl$" {
+               url.redirect = ( "^(.*)$" => "http://lextalionis.evolution-events.nl$1" )
+       }
+       $HTTP["host"] =~ "^raganorck2.evolution-events.nl$" {
+               url.redirect = ( "^(.*)$" => "http://raganorck.evolution-events.nl$1" )
+       }
+       $HTTP["host"] =~ "^exodus2.evolution-events.nl$" {
+               url.redirect = ( "^(.*)$" => "http://exodus.evolution-events.nl$1" )
+       }
+       $HTTP["host"] =~ "^www2.evolution-events.nl$" {
+               url.redirect = ( "^(.*)$" => "http://www.evolution-events.nl$1" )
+       }
 }