1 $HTTP["host"] =~ ".stderr.nl$" {
2 var.site-dir = var.root-dir + "/stderr.nl"
3 var.site-fcgi-dir = var.fcgi-dir + "/stderr-nl"
5 evhost.path-pattern = var.site-dir + "/htdocs/%3/"
6 accesslog.filename = var.site-dir + "/logs/access.log"
11 "socket" => var.site-fcgi-dir + "/php",
12 "broken-scriptfilename" => "enable",
16 cgi.assign = ( "cgi" => "" )
18 $HTTP["host"] =~ "git.stderr.nl$" {
19 # Put this alias in a url conditional, so urls like /gitweb.css won't get alias'd
20 $HTTP["url"] =~ "^/gitweb(/.*)?$" {
21 alias.url += ( "/gitweb" => "/usr/lib/cgi-bin/gitweb.cgi" )
23 $HTTP["url"] =~ ".git/" {
24 alias.url += ( "/" => "/data/vcs/git/" )
28 $HTTP["host"] =~ "indigetes.stderr.nl$" {
29 auth.backend = "htpasswd"
30 auth.backend.htpasswd.userfile = var.site-dir + "/pandora2008.user"
35 "realm" => "Di Indigetes",
36 "require" => "valid-user"