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/"
11 # Configure a simple plaintext password file
12 auth.backend = "plain"
13 auth.backend.plain.userfile = var.site-dir + "/conf/simple.user"
19 "socket" => var.site-fcgi-dir + "/php",
20 "broken-scriptfilename" => "enable",
24 "socket" => var.site-fcgi-dir + "/wipi",
25 "check-local" => "disable",
29 # Don't name this /wipistatic, since that will be caught by fastcgi above
30 "/staticwipi" => var.site-dir + "/applications/wipi/static/",
34 "^/wipi/static/(.*)$" => "/staticwipi/$1",
35 "^/Site(/.*|\?.*|)$" => "/wipi/Site/$1",
38 $HTTP["host"] =~ "^orga.evolution-events.nl$" {
40 auth.require += ( "/private" =>
43 "realm" => "Evolution Events",
44 "require" => "user=admin"
50 "^/forum/(.+)$" => "/forum/",
54 $HTTP["host"] =~ "^hunter-net.evolution-events.nl$" {
58 "socket" => var.site-fcgi-dir + "/hunternet",
59 "check-local" => "disable",
64 "/media/" => "/usr/share/python-support/python-django/django/contrib/admin/media/",
65 "/static/" => var.site-dir + "/applications/xerxes/media/",
70 "^(/media.*)$" => "$1",
71 "^(/static.*)$" => "$1",
72 "^/favicon\.ico$" => "/media/favicon.ico",
73 "^(/.*)$" => "/blaa$1",
77 $HTTP["host"] =~ "^xerxes.evolution-events.nl$" {
81 "socket" => var.site-fcgi-dir + "/xerxes",
82 "check-local" => "disable",
87 "/admin/media/" => "/usr/share/python-support/python-django/django/contrib/admin/media/",
88 "/media/" => var.site-dir + "/applications/xerxes/media/",
92 "^(/media.*)$" => "$1",
93 "^(/admin/media.*)$" => "$1",
94 #"^/favicon\.ico$" => "/admin/media/favicon.ico",
95 "^(/.*)$" => "/blaa$1",
99 # Redirect some deprecated urls.
100 $HTTP["host"] =~ "^lextalionis2.evolution-events.nl$" {
101 url.redirect = ( "^(.*)$" => "http://lextalionis.evolution-events.nl$1" )
103 $HTTP["host"] =~ "^raganorck2.evolution-events.nl$" {
104 url.redirect = ( "^(.*)$" => "http://raganorck.evolution-events.nl$1" )
106 $HTTP["host"] =~ "^exodus2.evolution-events.nl$" {
107 url.redirect = ( "^(.*)$" => "http://exodus.evolution-events.nl$1" )
109 $HTTP["host"] =~ "^www2.evolution-events.nl$" {
110 url.redirect = ( "^(.*)$" => "http://www.evolution-events.nl$1" )