slitaz-forge rev 228

Add a bugs vhost to tank for testing and remove from chub
author Christophe Lincoln <pankso@slitaz.org>
date Thu Apr 05 00:00:46 2012 +0200 (2012-04-05)
parents f40fac82e0f2
children 1a4dc885c902
files chub/files/etc/lighttpd/vhosts.conf tank/files/etc/lighttpd/vhosts.conf
line diff
     1.1 --- a/chub/files/etc/lighttpd/vhosts.conf	Tue Apr 03 13:09:31 2012 +0200
     1.2 +++ b/chub/files/etc/lighttpd/vhosts.conf	Thu Apr 05 00:00:46 2012 +0200
     1.3 @@ -46,16 +46,3 @@
     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 -
     2.1 --- a/tank/files/etc/lighttpd/vhosts.conf	Tue Apr 03 13:09:31 2012 +0200
     2.2 +++ b/tank/files/etc/lighttpd/vhosts.conf	Thu Apr 05 00:00:46 2012 +0200
     2.3 @@ -86,16 +86,28 @@
     2.4    index-file.names = ( "roadmap.cgi" )
     2.5  }
     2.6  
     2.7 +# bugs.slitaz.org
     2.8 +#
     2.9 +$HTTP["host"] =~ "^bugs\.slitaz\.org$" {
    2.10 +  server.document-root = "/home/slitaz/www/bugs"
    2.11 +  server.errorlog = "/var/log/lighttpd/bugs.slitaz.org-error.log"
    2.12 +  accesslog.filename = "/var/log/lighttpd/bugs.slitaz.org-access.log"
    2.13 +  index-file.names = ( "bugs.cgi" )
    2.14 +  cgi.assign = (
    2.15 +    ".cgi" => "/bin/sh"
    2.16 +  )
    2.17 +}
    2.18 +
    2.19  # try.slitaz.org (For testing)
    2.20  #
    2.21  $HTTP["host"] =~ "(try\.slitaz\.org$)" {
    2.22 -  server.document-root = "/home/slitaz/www/bugs/web"
    2.23 +  server.document-root = "/home/slitaz/www/try"
    2.24    server.errorlog = "/var/log/lighttpd/try.slitaz.org-error.log"
    2.25    accesslog.filename = "/var/log/lighttpd/try.slitaz.org-access.log"
    2.26    cgi.assign = (
    2.27      ".cgi" => "/bin/sh"
    2.28    )
    2.29 -  index-file.names = ( "bugs.cgi" )
    2.30 +  #index-file.names = ( "index.cgi" )
    2.31  }
    2.32  
    2.33  # cloud.slitaz.me