slitaz-modular rev 120

initramfs: Add support for ssfs.slitaz.org.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Jun 20 15:00:04 2011 +0000 (2011-06-20)
parents 37db3f3750ae
children 78ea816433c4
files initramfs/etc/lighttpd/vhosts-local-tank.conf initramfs/etc/lighttpd/vhosts-tank.conf
line diff
     1.1 --- a/initramfs/etc/lighttpd/vhosts-local-tank.conf	Sat Jun 18 19:39:53 2011 +0000
     1.2 +++ b/initramfs/etc/lighttpd/vhosts-local-tank.conf	Mon Jun 20 15:00:04 2011 +0000
     1.3 @@ -192,6 +192,25 @@
     1.4    )
     1.5  }
     1.6  
     1.7 +# ssfs.slitaz.org
     1.8 +#
     1.9 +$HTTP["host"] =~ "ssfs\.slitaz\.org$" {
    1.10 +  cgi.assign = (
    1.11 +    ".cgi" => "/bin/sh"
    1.12 +  )
    1.13 +  index-file.names = ( "ssfs.cgi" )
    1.14 +  server.document-root = "/home/slitaz/www/ssfs"
    1.15 +  auth.backend = "plain"
    1.16 +  auth.backend.plain.userfile = "/etc/ssfs/httpd.users"
    1.17 +  auth.require = ( "/home/" =>
    1.18 +    (
    1.19 +    "method" => "basic",
    1.20 +    "realm" => "SliTaz Ssfs protected area",
    1.21 +    "require" => "valid-user"
    1.22 +    )
    1.23 +  )
    1.24 +}
    1.25 +
    1.26  # pizza.slitaz.org
    1.27  #
    1.28  $HTTP["host"] =~ "pizza\.slitaz\.org" {
     2.1 --- a/initramfs/etc/lighttpd/vhosts-tank.conf	Sat Jun 18 19:39:53 2011 +0000
     2.2 +++ b/initramfs/etc/lighttpd/vhosts-tank.conf	Mon Jun 20 15:00:04 2011 +0000
     2.3 @@ -237,6 +237,25 @@
     2.4    )
     2.5  }
     2.6  
     2.7 +# ssfs.slitaz.org
     2.8 +#
     2.9 +$HTTP["host"] =~ "ssfs\.slitaz\.org$" {
    2.10 +  cgi.assign = (
    2.11 +    ".cgi" => "/bin/sh"
    2.12 +  )
    2.13 +  index-file.names = ( "ssfs.cgi" )
    2.14 +  server.document-root = "/home/slitaz/www/ssfs"
    2.15 +  auth.backend = "plain"
    2.16 +  auth.backend.plain.userfile = "/etc/ssfs/httpd.users"
    2.17 +  auth.require = ( "/home/" =>
    2.18 +    (
    2.19 +    "method" => "basic",
    2.20 +    "realm" => "SliTaz Ssfs protected area",
    2.21 +    "require" => "valid-user"
    2.22 +    )
    2.23 +  )
    2.24 +}
    2.25 +
    2.26  # These hosts are personnal website for me and my family, pankso.
    2.27  
    2.28