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"
47 $HTTP["url"] =~ "^/private/" {
48 # Enable dirlistings for /private
49 server.dir-listing = "enable"
53 $HTTP["host"] =~ "^orga-forum.evolution-events.nl$" {
54 url.redirect = ( ".*" => "http://orga.evolution-events.nl/forum" )
57 $HTTP["host"] =~ "^hunter-net.evolution-events.nl$" {
61 "socket" => var.site-fcgi-dir + "/hunternet",
62 "check-local" => "disable",
67 "/media/" => "/usr/share/python-support/python-django/django/contrib/admin/media/",
68 "/static/" => var.site-dir + "/applications/xerxes/media/",
73 "^(/media.*)$" => "$1",
74 "^(/static.*)$" => "$1",
75 "^/favicon\.ico$" => "/media/favicon.ico",
76 "^(/.*)$" => "/blaa$1",
79 $HTTP["host"] =~ "^dorestad(1493)?.evolution-events.nl$" {
83 "socket" => var.site-fcgi-dir + "/dorestad-bookings",
84 "check-local" => "disable",
89 "/admin/media/" => var.site-dir + "/applications/dorestad-bookings/python-virtualenv/lib/python2.5/site-packages/Django-1.2.3-py2.5.egg/django/contrib/admin/media/",
93 $HTTP["host"] =~ "^xerxes.evolution-events.nl$" {
97 "socket" => var.site-fcgi-dir + "/xerxes",
98 "check-local" => "disable",
103 "/admin/media/" => "/usr/share/python-support/python-django/django/contrib/admin/media/",
104 "/media/" => var.site-dir + "/applications/xerxes/media/",
107 url.rewrite-once += (
108 "^(/media.*)$" => "$1",
109 "^(/admin/media.*)$" => "$1",
110 #"^/favicon\.ico$" => "/admin/media/favicon.ico",
111 "^(/.*)$" => "/blaa$1",
115 # Redirect some deprecated urls.
116 $HTTP["host"] =~ "^lextalionis2.evolution-events.nl$" {
117 url.redirect = ( "^(.*)$" => "http://lextalionis.evolution-events.nl$1" )
119 $HTTP["host"] =~ "^raganorck2.evolution-events.nl$" {
120 url.redirect = ( "^(.*)$" => "http://raganorck.evolution-events.nl$1" )
122 $HTTP["host"] =~ "^exodus2.evolution-events.nl$" {
123 url.redirect = ( "^(.*)$" => "http://exodus.evolution-events.nl$1" )
125 $HTTP["host"] =~ "^www2.evolution-events.nl$" {
126 url.redirect = ( "^(.*)$" => "http://www.evolution-events.nl$1" )
129 # Redirect old forum urls
130 $HTTP["host"] =~ "^deadfoxjunction.evolution-events.nl$" {
131 url.redirect += ( "^/forum(/.*)?$" => "http://www.evolution-events.nl/forum/viewforum.php?f=58" )
133 $HTTP["host"] =~ "^blackbox.evolution-events.nl$" {
134 url.redirect += ( "^/forum(/.*)?$" => "http://www.evolution-events.nl/forum/viewforum.php?f=57" )
136 $HTTP["host"] =~ "^exit.evolution-events.nl$" {
137 url.redirect += ( "^/forum(/.*)?$" => "http://www.evolution-events.nl/forum/viewforum.php?f=72" )
139 $HTTP["host"] =~ "^lextalionis.evolution-events.nl$" {
140 url.redirect += ( "^/forum(/.*)?$" => "http://www.evolution-events.nl/forum/viewforum.php?f=75" )
142 $HTTP["host"] =~ "^exodus.evolution-events.nl$" {
143 url.redirect += ( "^/forum(/.*)?$" => "http://www.evolution-events.nl/forum/viewforum.php?f=74" )
145 $HTTP["host"] =~ "^nyderpunxt.evolution-events.nl$" {
146 url.redirect += ( "^/forum(/.*)?$" => "http://www.evolution-events.nl/forum/viewforum.php?f=73" )