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