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",
25 # Don't name this /wipistatic, since that will be caught by fastcgi above
26 "/staticwipi" => var.site-dir + "/applications/wipi/static/",
30 "^/wipi/static/(.*)$" => "/staticwipi/$1",
31 "^/Site(/.*|)$" => "/wipi/Site/$1",
34 $HTTP["host"] =~ "^orga.evolution-events.nl$" {
35 auth.backend = "plain"
36 auth.backend.plain.userfile = var.site-dir + "/conf/simple.user"
38 auth.require += ( "/private" =>
41 "realm" => "Evolution Events",
42 "require" => "user=admin"
48 "^/forum/(.+)$" => "/forum/",
52 $HTTP["host"] =~ "^xerxes.evolution-events.nl$" {
56 "socket" => var.site-fcgi-dir + "/xerxes",
57 "check-local" => "disable",
62 "/media/" => "/home/matthijs/django/contrib/admin/media/",
63 "/static/" => var.site-dir + "/applications/xerxes/static/",
67 "^(/media.*)$" => "$1",
68 "^(/static.*)$" => "$1",
69 "^/favicon\.ico$" => "/media/favicon.ico",
70 "^(/.*)$" => "/blaa$1",