lighttpd: Add config for Hunternet.
[matthijs/servers/drsnuggles.git] / etc / lighttpd / vhosts / evolution-events-nl
index 1a7085b1f986591b12658a9848a93bce03c3ef6b..933cdcfcb4448a1f5ff847d6e7f5fc70910d154f 100644 (file)
@@ -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",