X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=etc%2Flighttpd%2Fvhosts%2Fevolution-events-nl;h=933cdcfcb4448a1f5ff847d6e7f5fc70910d154f;hb=887963279cdd00f8302b480f2e542ee42c65f72e;hp=914e8bab3ac94beef26898579bb57bd21ce4ac9b;hpb=b60362baaa234128389080ece8f5368cf4667ed3;p=matthijs%2Fservers%2Fdrsnuggles.git diff --git a/etc/lighttpd/vhosts/evolution-events-nl b/etc/lighttpd/vhosts/evolution-events-nl index 914e8ba..933cdcf 100644 --- a/etc/lighttpd/vhosts/evolution-events-nl +++ b/etc/lighttpd/vhosts/evolution-events-nl @@ -28,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$" { @@ -49,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" => @@ -64,6 +87,7 @@ $HTTP["host"] =~ ".evolution-events.nl$" { ) url.rewrite-once += ( +# "^(/.*)$" => "/", "^(/media.*)$" => "$1", "^(/static.*)$" => "$1", "^/favicon\.ico$" => "/media/favicon.ico",