# HG changeset patch # User Christophe Lincoln # Date 1333451371 -7200 # Node ID f40fac82e0f2e1aeb073e4048ed895c5f35bdd7e # Parent 838c0f31ca74af345b30a16e869daaacea6ec492 chub: add bugs.slitaz.org vhost diff -r 838c0f31ca74 -r f40fac82e0f2 chub/files/etc/lighttpd/vhosts.conf --- a/chub/files/etc/lighttpd/vhosts.conf Sun Apr 01 20:56:06 2012 +0200 +++ b/chub/files/etc/lighttpd/vhosts.conf Tue Apr 03 13:09:31 2012 +0200 @@ -46,3 +46,16 @@ "^" + var.dokudir + "/(.*)" => var.dokudir + "/doku.php?id=$1" ) } + +# bugs.slitaz.org +# +$HTTP["host"] =~ "^bugs\.slitaz\.org$" { + server.document-root = "/home/slitaz/www/bugs" + server.errorlog = "/var/log/lighttpd/bugs.slitaz.org-error.log" + accesslog.filename = "/var/log/lighttpd/bugs.slitaz.org-access.log" + index-file.names = ( "bugs.cgi" ) + cgi.assign = ( + ".cgi" => "/bin/sh" + ) +} +