From 7f86980b73601507bcedbb24cb71344c95f6377d Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Tue, 5 Jan 2010 13:53:30 +0100 Subject: [PATCH] lighttpd: Add redirects for deprecated EE domains. --- etc/lighttpd/vhosts/evolution-events-nl | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/etc/lighttpd/vhosts/evolution-events-nl b/etc/lighttpd/vhosts/evolution-events-nl index 933cdcf..848f475 100644 --- a/etc/lighttpd/vhosts/evolution-events-nl +++ b/etc/lighttpd/vhosts/evolution-events-nl @@ -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" ) + } } -- 2.30.2