slitaz-forge rev 227

chub: add bugs.slitaz.org vhost
author Christophe Lincoln <pankso@slitaz.org>
date Tue Apr 03 13:09:31 2012 +0200 (2012-04-03)
parents 838c0f31ca74
children 5e1b4ca65e96
files chub/files/etc/lighttpd/vhosts.conf
line diff
     1.1 --- a/chub/files/etc/lighttpd/vhosts.conf	Sun Apr 01 20:56:06 2012 +0200
     1.2 +++ b/chub/files/etc/lighttpd/vhosts.conf	Tue Apr 03 13:09:31 2012 +0200
     1.3 @@ -46,3 +46,16 @@
     1.4        "^" + var.dokudir + "/(.*)"                 => var.dokudir + "/doku.php?id=$1"
     1.5      )
     1.6  }
     1.7 +
     1.8 +# bugs.slitaz.org
     1.9 +#
    1.10 +$HTTP["host"] =~ "^bugs\.slitaz\.org$" {
    1.11 +  server.document-root = "/home/slitaz/www/bugs"
    1.12 +  server.errorlog = "/var/log/lighttpd/bugs.slitaz.org-error.log"
    1.13 +  accesslog.filename = "/var/log/lighttpd/bugs.slitaz.org-access.log"
    1.14 +  index-file.names = ( "bugs.cgi" )
    1.15 +  cgi.assign = (
    1.16 +    ".cgi" => "/bin/sh"
    1.17 +  )
    1.18 +}
    1.19 +