addsite: Give lighttpd more permissions on logs.
[matthijs/servers/drsnuggles.git] / etc / lighttpd / vhosts / evolution-events-nl
index 933cdcfcb4448a1f5ff847d6e7f5fc70910d154f..9384245ca28a9f73ca660c18e1a9cd8d752197e5 100644 (file)
@@ -7,7 +7,6 @@ $HTTP["host"] =~ ".evolution-events.nl$" {
        var.site-fcgi-dir    = var.fcgi-dir + "/evolution-events-nl"
 
        evhost.path-pattern  = var.site-dir + "/htdocs/%3/"
-       accesslog.filename   = var.site-dir + "/logs/access.log"
        
        fastcgi.server += ( 
                ".php" => 
@@ -94,4 +93,18 @@ $HTTP["host"] =~ ".evolution-events.nl$" {
                        "^(/.*)$" => "/blaa$1",
                )
        }
+       
+       # Redirect some deprecated urls.
+       $HTTP["host"] =~ "^lextalionis2.evolution-events.nl$" {
+               url.redirect = ( "^(.*)$" => "http://lextalionis.evolution-events.nl$1" )
+       }
+       $HTTP["host"] =~ "^raganorck2.evolution-events.nl$" {
+               url.redirect = ( "^(.*)$" => "http://raganorck.evolution-events.nl$1" )
+       }
+       $HTTP["host"] =~ "^exodus2.evolution-events.nl$" {
+               url.redirect = ( "^(.*)$" => "http://exodus.evolution-events.nl$1" )
+       }
+       $HTTP["host"] =~ "^www2.evolution-events.nl$" {
+               url.redirect = ( "^(.*)$" => "http://www.evolution-events.nl$1" )
+       }
 }