X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=etc%2Flighttpd%2Fvhosts%2Fstderr-nl;h=33fa8553f6a46615193b69c7da2a3aac4deec119;hb=1ebb6abc1a88846af356f7450e102c541af572fd;hp=71089a9d808eb8f21660d9def581b7b645859ec1;hpb=b51e062dca9319e2d9fb48af845815bdbd50a5cc;p=matthijs%2Fservers%2Fdrsnuggles.git diff --git a/etc/lighttpd/vhosts/stderr-nl b/etc/lighttpd/vhosts/stderr-nl index 71089a9..33fa855 100644 --- a/etc/lighttpd/vhosts/stderr-nl +++ b/etc/lighttpd/vhosts/stderr-nl @@ -13,13 +13,14 @@ $HTTP["host"] =~ ".stderr.nl$" { )) ) - cgi.assign = ( "cgi" => "" ) - $HTTP["host"] =~ "git.stderr.nl$" { # Put this alias in a url conditional, so urls like /gitweb.css won't get alias'd $HTTP["url"] =~ "^/gitweb(/.*)?$" { alias.url += ( "/gitweb" => "/usr/lib/cgi-bin/gitweb.cgi" ) } + $HTTP["url"] =~ ".git/" { + alias.url += ( "/" => "/data/vcs/git/" ) + } } $HTTP["host"] =~ "indigetes.stderr.nl$" { @@ -34,4 +35,21 @@ $HTTP["host"] =~ ".stderr.nl$" { ) ) } + + $HTTP["host"] =~ "^drsnuggles.stderr.nl$" { + alias.url += ("/ldap" => "/usr/share/phpldapadmin/htdocs") + } + + $HTTP["host"] =~ "^www.stderr.nl$" { + $HTTP["url"] =~ "^/blosxom" { + cgi.assign += ( "blosxom.cgi" => "/usr/local/bin/aclperl" ) + alias.url += ( "/blosxom" => var.site-dir + "/applications/blosxom/blosxom.cgi" ) + setenv.add-environment += ( + "BLOSXOM_CONFIG_FILE" => var.site-dir + "/conf/blosxom.conf", + "BLOSXOM_DATA_BASE" => var.site-dir + "/data/blosxom", + "BLOSXOM_CODE_BASE" => var.site-dir + "/applications/blosxom", + "BLOSXOM_HTDOCS_URL" => "/blog/", + ) + } + } }