1 $HTTP["host"] =~ "^(evolution-events.nl)$" {
2 url.redirect = (".*" => "http://www.%1/")
5 $HTTP["host"] =~ ".evolution-events.nl$" {
6 var.site-dir = var.root-dir + "/evolution-events.nl"
7 var.site-fcgi-dir = var.fcgi-dir + "/evolution-events-nl"
9 evhost.path-pattern = var.site-dir + "/htdocs/%3/"
10 accesslog.filename = var.site-dir + "/logs/access.log"
15 "socket" => var.site-fcgi-dir + "/php",
16 "broken-scriptfilename" => "enable",
20 "socket" => var.site-fcgi-dir + "/wipi",
21 "check-local" => "disable",
22 "broken-scriptfilename" => "enable",
26 # Don't name this /wipistatic, since that will be caught by fastcgi above
27 "/staticwipi" => var.site-dir + "/applications/wipi/static/",
31 "^/wipi/static/(.*)$" => "/staticwipi/$1",
32 "^/Site(/.*|)$" => "/wipi/Site/$1",
35 $HTTP["host"] =~ "^orga.evolution-events.nl$" {
36 auth.backend = "plain"
37 auth.backend.plain.userfile = var.site-dir + "/conf/simple.user"
39 auth.require += ( "/private" =>
42 "realm" => "Evolution Events",
43 "require" => "user=admin"
49 "^/forum/(.+)$" => "/forum/",
53 $HTTP["host"] =~ "^xerxes.evolution-events.nl$" {
57 "socket" => var.site-fcgi-dir + "/xerxes",
58 "check-local" => "disable",
63 "/media/" => "/home/matthijs/django/contrib/admin/media/",
64 "/static/" => var.site-dir + "/applications/xerxes/static/",
68 "^(/media.*)$" => "$1",
69 "^(/static.*)$" => "$1",
70 "^/favicon\.ico$" => "/media/favicon.ico",
71 "^(/.*)$" => "/blaa$1",