lighttpd: Add redirects for deprecated EE domains.
[matthijs/servers/drsnuggles.git] / 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" )
+       }
 }