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"] =~ "^hunter-net.evolution-events.nl$" {
56 "socket" => var.site-fcgi-dir + "/hunternet",
57 "check-local" => "disable",
62 "/media/" => "/usr/share/python-support/python-django/django/contrib/admin/media/",
63 "/static/" => var.site-dir + "/applications/xerxes/media/",
68 "^(/media.*)$" => "$1",
69 "^(/static.*)$" => "$1",
70 "^/favicon\.ico$" => "/media/favicon.ico",
71 "^(/.*)$" => "/blaa$1",
75 $HTTP["host"] =~ "^xerxes.evolution-events.nl$" {
79 "socket" => var.site-fcgi-dir + "/xerxes",
80 "check-local" => "disable",
85 "/media/" => "/home/matthijs/django/contrib/admin/media/",
86 "/static/" => var.site-dir + "/applications/xerxes/static/",
91 "^(/media.*)$" => "$1",
92 "^(/static.*)$" => "$1",
93 "^/favicon\.ico$" => "/media/favicon.ico",
94 "^(/.*)$" => "/blaa$1",
98 # Redirect some deprecated urls.
99 $HTTP["host"] =~ "^lextalionis2.evolution-events.nl$" {
100 url.redirect = ( "^(.*)$" => "http://lextalionis.evolution-events.nl$1" )
102 $HTTP["host"] =~ "^raganorck2.evolution-events.nl$" {
103 url.redirect = ( "^(.*)$" => "http://raganorck.evolution-events.nl$1" )
105 $HTTP["host"] =~ "^exodus2.evolution-events.nl$" {
106 url.redirect = ( "^(.*)$" => "http://exodus.evolution-events.nl$1" )
108 $HTTP["host"] =~ "^www2.evolution-events.nl$" {
109 url.redirect = ( "^(.*)$" => "http://www.evolution-events.nl$1" )