X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=etc%2Flighttpd%2Fvhosts%2Fevolution-events-nl;h=7084a2f9352ea541fe21a229299160656354bca6;hb=a73e0429667aa897d78217a70cabdbae5ffecd98;hp=a24a31ce7c7443937b51fc16ccda7a8c976dd6ca;hpb=e3a83cd73d36177c783c51c5bde37e45441b7459;p=matthijs%2Fservers%2Fdrsnuggles.git diff --git a/etc/lighttpd/vhosts/evolution-events-nl b/etc/lighttpd/vhosts/evolution-events-nl index a24a31c..7084a2f 100644 --- a/etc/lighttpd/vhosts/evolution-events-nl +++ b/etc/lighttpd/vhosts/evolution-events-nl @@ -48,10 +48,10 @@ $HTTP["host"] =~ ".evolution-events.nl$" { # Enable dirlistings for /private server.dir-listing = "enable" } + } - url.rewrite-once += ( - "^/forum/(.+)$" => "/forum/", - ) + $HTTP["host"] =~ "^orga-forum.evolution-events.nl$" { + url.redirect = ( ".*" => "http://orga.evolution-events.nl/forum" ) } $HTTP["host"] =~ "^hunter-net.evolution-events.nl$" { @@ -76,6 +76,19 @@ $HTTP["host"] =~ ".evolution-events.nl$" { "^(/.*)$" => "/blaa$1", ) } + $HTTP["host"] =~ "^dorestad(1493)?.evolution-events.nl$" { + fastcgi.server += ( + "/reserveren" => + (( + "socket" => var.site-fcgi-dir + "/dorestad-bookings", + "check-local" => "disable", + )), + ) + + alias.url += ( + "/admin/media/" => var.site-dir + "/applications/dorestad-bookings/python-virtualenv/lib/python2.5/site-packages/Django-1.2.3-py2.5.egg/django/contrib/admin/media/", + ) + } $HTTP["host"] =~ "^xerxes.evolution-events.nl$" { fastcgi.server += ( @@ -112,4 +125,24 @@ $HTTP["host"] =~ ".evolution-events.nl$" { $HTTP["host"] =~ "^www2.evolution-events.nl$" { url.redirect = ( "^(.*)$" => "http://www.evolution-events.nl$1" ) } + + # Redirect old forum urls + $HTTP["host"] =~ "^deadfoxjunction.evolution-events.nl$" { + url.redirect += ( "^/forum(/.*)?$" => "http://www.evolution-events.nl/forum/viewforum.php?f=58" ) + } + $HTTP["host"] =~ "^blackbox.evolution-events.nl$" { + url.redirect += ( "^/forum(/.*)?$" => "http://www.evolution-events.nl/forum/viewforum.php?f=57" ) + } + $HTTP["host"] =~ "^exit.evolution-events.nl$" { + url.redirect += ( "^/forum(/.*)?$" => "http://www.evolution-events.nl/forum/viewforum.php?f=72" ) + } + $HTTP["host"] =~ "^lextalionis.evolution-events.nl$" { + url.redirect += ( "^/forum(/.*)?$" => "http://www.evolution-events.nl/forum/viewforum.php?f=75" ) + } + $HTTP["host"] =~ "^exodus.evolution-events.nl$" { + url.redirect += ( "^/forum(/.*)?$" => "http://www.evolution-events.nl/forum/viewforum.php?f=74" ) + } + $HTTP["host"] =~ "^nyderpunxt.evolution-events.nl$" { + url.redirect += ( "^/forum(/.*)?$" => "http://www.evolution-events.nl/forum/viewforum.php?f=73" ) + } }