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"
8 $HTTP["host"] =~ "git.stderr.nl$" {
9 cgi.assign += ( "gitweb.cgi" => "" )
10 # Put this alias in a url conditional, so urls like /gitweb.css won't get alias'd
11 $HTTP["url"] =~ "^/gitweb(/.*)?$" {
12 alias.url += ( "/gitweb" => "/usr/lib/cgi-bin/gitweb.cgi" )
14 $HTTP["url"] =~ ".git/" {
15 alias.url += ( "/" => "/data/vcs/git/" )
19 $HTTP["host"] =~ "blues.stderr.nl$" {
20 auth.backend = "htpasswd"
21 auth.backend.htpasswd.userfile = var.site-dir + "/conf/pandora2009.user"
22 dir-listing.activate = "enable"
27 "realm" => "Blues Brothers",
28 "require" => "valid-user"
31 # Only publish the pandora trac repos here
32 url.redirect += ("^/trac/?$" => "/trac/pandora")
33 $HTTP["url"] =~ "^/trac/.*" {
37 "socket" => var.site-fcgi-dir + "/trac",
38 "check-local" => "disable",
44 $HTTP["host"] =~ "^drsnuggles.stderr.nl$" {
45 alias.url += ("/ldap" => "/usr/share/phpldapadmin-patched/htdocs")
48 $HTTP["host"] =~ "^www.stderr.nl$" {
49 $HTTP["url"] !~ "^/(blosxom|blog)" {
50 url.redirect += ("^(.*)$" => "http://katherina.student.utwente.nl/~matthijs/cgi-bin/blosxom$1")
52 $HTTP["url"] =~ "^/blosxom" {
53 cgi.assign += ( "blosxom.cgi" => "/usr/local/bin/aclperl" )
54 alias.url += ( "/blosxom" => var.site-dir + "/applications/blosxom/blosxom.cgi" )
55 setenv.add-environment += (
56 "BLOSXOM_CONFIG_FILE" => var.site-dir + "/conf/blosxom.conf",
57 "BLOSXOM_DATA_BASE" => var.site-dir + "/data/blosxom",
58 "BLOSXOM_CODE_BASE" => var.site-dir + "/applications/blosxom",
59 "BLOSXOM_HTDOCS_URL" => "/blog/",
62 # Disabled for now, since the only working trac is the pandora trac
66 # "socket" => var.site-fcgi-dir + "/trac",
67 # "check-local" => "disable",
72 # Put the php fastcgi server last, so it won't trigger on any urls that
73 # should be handled by other fastcgi servers (for example, viewing a
74 # .php file in trac results in an url /trac/.../foo.php).
78 "socket" => var.site-fcgi-dir + "/php",
79 "broken-scriptfilename" => "enable",