$HTTP["host"] =~ "blues.stderr.nl$" {
auth.backend = "htpasswd"
auth.backend.htpasswd.userfile = var.site-dir + "/conf/pandora2009.user"
+ dir-listing.activate = "enable"
auth.require = (
"/" => (
)
# Only publish the pandora trac repos here
url.redirect += ("^/trac/?$" => "/trac/pandora")
- fastcgi.server += (
- "/trac" =>
- ((
- "socket" => var.site-fcgi-dir + "/trac",
- "check-local" => "disable",
- ))
- )
+ $HTTP["url"] =~ "^/trac/.*" {
+ fastcgi.server += (
+ "/trac" =>
+ ((
+ "socket" => var.site-fcgi-dir + "/trac",
+ "check-local" => "disable",
+ ))
+ )
+ }
}
$HTTP["host"] =~ "^drsnuggles.stderr.nl$" {
}
$HTTP["host"] =~ "^www.stderr.nl$" {
+ $HTTP["url"] !~ "^/(blosxom|blog)" {
+ url.redirect += ("^(.*)$" => "http://katherina.student.utwente.nl/~matthijs/cgi-bin/blosxom$1")
+ }
$HTTP["url"] =~ "^/blosxom" {
cgi.assign += ( "blosxom.cgi" => "/usr/local/bin/aclperl" )
alias.url += ( "/blosxom" => var.site-dir + "/applications/blosxom/blosxom.cgi" )