)
}
+ $HTTP["host"] =~ "^hunter-net.evolution-events.nl$" {
+ fastcgi.server += (
+ "/blaa" =>
+ ((
+ "socket" => var.site-fcgi-dir + "/hunternet",
+ "check-local" => "disable",
+ )),
+ )
+
+ alias.url += (
+ "/media/" => "/usr/share/python-support/python-django/django/contrib/admin/media/",
+ "/static/" => var.site-dir + "/applications/xerxes/media/",
+ )
+
+ url.rewrite-once += (
+# "^(/.*)$" => "/",
+ "^(/media.*)$" => "$1",
+ "^(/static.*)$" => "$1",
+ "^/favicon\.ico$" => "/media/favicon.ico",
+ "^(/.*)$" => "/blaa$1",
+ )
+ }
+
$HTTP["host"] =~ "^xerxes.evolution-events.nl$" {
fastcgi.server += (
"/blaa" =>
)
url.rewrite-once += (
+# "^(/.*)$" => "/",
"^(/media.*)$" => "$1",
"^(/static.*)$" => "$1",
"^/favicon\.ico$" => "/media/favicon.ico",
"^(/.*)$" => "/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" )
+ }
}