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 $HTTP["host"] =~ "git.stderr.nl$" {
17 cgi.assign += ( "gitweb.cgi" => "" )
18 # Put this alias in a url conditional, so urls like /gitweb.css won't get alias'd
19 $HTTP["url"] =~ "^/gitweb(/.*)?$" {
20 alias.url += ( "/gitweb" => "/usr/lib/cgi-bin/gitweb.cgi" )
22 $HTTP["url"] =~ ".git/" {
23 alias.url += ( "/" => "/data/vcs/git/" )
27 $HTTP["host"] =~ "blues.stderr.nl$" {
28 auth.backend = "htpasswd"
29 auth.backend.htpasswd.userfile = var.site-dir + "/conf/pandora2009.user"
34 "realm" => "Blues Brothers",
35 "require" => "valid-user"
38 # Only publish the pandora trac repos here
39 url.redirect += ("^/trac/?$" => "/trac/pandora")
43 "socket" => var.site-fcgi-dir + "/trac",
44 "check-local" => "disable",
49 $HTTP["host"] =~ "^drsnuggles.stderr.nl$" {
50 alias.url += ("/ldap" => "/usr/share/phpldapadmin-patched/htdocs")
53 $HTTP["host"] =~ "^www.stderr.nl$" {
54 $HTTP["url"] =~ "^/blosxom" {
55 cgi.assign += ( "blosxom.cgi" => "/usr/local/bin/aclperl" )
56 alias.url += ( "/blosxom" => var.site-dir + "/applications/blosxom/blosxom.cgi" )
57 setenv.add-environment += (
58 "BLOSXOM_CONFIG_FILE" => var.site-dir + "/conf/blosxom.conf",
59 "BLOSXOM_DATA_BASE" => var.site-dir + "/data/blosxom",
60 "BLOSXOM_CODE_BASE" => var.site-dir + "/applications/blosxom",
61 "BLOSXOM_HTDOCS_URL" => "/blog/",
64 # Disabled for now, since the only working trac is the pandora trac
68 # "socket" => var.site-fcgi-dir + "/trac",
69 # "check-local" => "disable",