X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=etc%2Flighttpd%2Fvhosts%2Fevolution-events-nl;h=848f47564f44c46b85dbbb062e30aa284e4839a9;hb=7f86980b73601507bcedbb24cb71344c95f6377d;hp=c31fbd56787a51448517454fe329b2b57b897d31;hpb=0218d01a127262997142d46f2199e3020f2a80f3;p=matthijs%2Fservers%2Fdrsnuggles.git diff --git a/etc/lighttpd/vhosts/evolution-events-nl b/etc/lighttpd/vhosts/evolution-events-nl index c31fbd5..848f475 100644 --- a/etc/lighttpd/vhosts/evolution-events-nl +++ b/etc/lighttpd/vhosts/evolution-events-nl @@ -19,7 +19,6 @@ $HTTP["host"] =~ ".evolution-events.nl$" { (( "socket" => var.site-fcgi-dir + "/wipi", "check-local" => "disable", - "broken-scriptfilename" => "enable", )), ) alias.url += ( @@ -29,7 +28,7 @@ $HTTP["host"] =~ ".evolution-events.nl$" { url.rewrite-once += ( "^/wipi/static/(.*)$" => "/staticwipi/$1", - "^/Site(/.*|)$" => "/wipi/Site/$1", + "^/Site(/.*|\?.*|)$" => "/wipi/Site/$1", ) $HTTP["host"] =~ "^orga.evolution-events.nl$" { @@ -50,6 +49,29 @@ $HTTP["host"] =~ ".evolution-events.nl$" { ) } + $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" => @@ -65,10 +87,25 @@ $HTTP["host"] =~ ".evolution-events.nl$" { ) 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" ) + } }