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/"
14 "socket" => var.site-fcgi-dir + "/php",
15 "broken-scriptfilename" => "enable",
19 "socket" => var.site-fcgi-dir + "/wipi",
20 "check-local" => "disable",
24 # Don't name this /wipistatic, since that will be caught by fastcgi above
25 "/staticwipi" => var.site-dir + "/applications/wipi/static/",
29 "^/wipi/static/(.*)$" => "/staticwipi/$1",
30 "^/Site(/.*|\?.*|)$" => "/wipi/Site/$1",
33 $HTTP["host"] =~ "^orga.evolution-events.nl$" {
34 auth.backend = "plain"
35 auth.backend.plain.userfile = var.site-dir + "/conf/simple.user"
37 auth.require += ( "/private" =>
40 "realm" => "Evolution Events",
41 "require" => "user=admin"
47 "^/forum/(.+)$" => "/forum/",
51 $HTTP["host"] =~ "^hunter-net.evolution-events.nl$" {
55 "socket" => var.site-fcgi-dir + "/hunternet",
56 "check-local" => "disable",
61 "/media/" => "/usr/share/python-support/python-django/django/contrib/admin/media/",
62 "/static/" => var.site-dir + "/applications/xerxes/media/",
67 "^(/media.*)$" => "$1",
68 "^(/static.*)$" => "$1",
69 "^/favicon\.ico$" => "/media/favicon.ico",
70 "^(/.*)$" => "/blaa$1",
74 $HTTP["host"] =~ "^xerxes.evolution-events.nl$" {
78 "socket" => var.site-fcgi-dir + "/xerxes",
79 "check-local" => "disable",
84 "/media/" => "/home/matthijs/django/contrib/admin/media/",
85 "/static/" => var.site-dir + "/applications/xerxes/static/",
90 "^(/media.*)$" => "$1",
91 "^(/static.*)$" => "$1",
92 "^/favicon\.ico$" => "/media/favicon.ico",
93 "^(/.*)$" => "/blaa$1",
97 # Redirect some deprecated urls.
98 $HTTP["host"] =~ "^lextalionis2.evolution-events.nl$" {
99 url.redirect = ( "^(.*)$" => "http://lextalionis.evolution-events.nl$1" )
101 $HTTP["host"] =~ "^raganorck2.evolution-events.nl$" {
102 url.redirect = ( "^(.*)$" => "http://raganorck.evolution-events.nl$1" )
104 $HTTP["host"] =~ "^exodus2.evolution-events.nl$" {
105 url.redirect = ( "^(.*)$" => "http://exodus.evolution-events.nl$1" )
107 $HTTP["host"] =~ "^www2.evolution-events.nl$" {
108 url.redirect = ( "^(.*)$" => "http://www.evolution-events.nl$1" )