# HG changeset patch # User Christopher Rogers # Date 1308582004 0 # Node ID 9ff744183aa178820fc1f3b18aecf789836fcc7b # Parent 37db3f3750ae306eeef302645883e30071f38e7b initramfs: Add support for ssfs.slitaz.org. diff -r 37db3f3750ae -r 9ff744183aa1 initramfs/etc/lighttpd/vhosts-local-tank.conf --- a/initramfs/etc/lighttpd/vhosts-local-tank.conf Sat Jun 18 19:39:53 2011 +0000 +++ b/initramfs/etc/lighttpd/vhosts-local-tank.conf Mon Jun 20 15:00:04 2011 +0000 @@ -192,6 +192,25 @@ ) } +# ssfs.slitaz.org +# +$HTTP["host"] =~ "ssfs\.slitaz\.org$" { + cgi.assign = ( + ".cgi" => "/bin/sh" + ) + index-file.names = ( "ssfs.cgi" ) + server.document-root = "/home/slitaz/www/ssfs" + auth.backend = "plain" + auth.backend.plain.userfile = "/etc/ssfs/httpd.users" + auth.require = ( "/home/" => + ( + "method" => "basic", + "realm" => "SliTaz Ssfs protected area", + "require" => "valid-user" + ) + ) +} + # pizza.slitaz.org # $HTTP["host"] =~ "pizza\.slitaz\.org" { diff -r 37db3f3750ae -r 9ff744183aa1 initramfs/etc/lighttpd/vhosts-tank.conf --- a/initramfs/etc/lighttpd/vhosts-tank.conf Sat Jun 18 19:39:53 2011 +0000 +++ b/initramfs/etc/lighttpd/vhosts-tank.conf Mon Jun 20 15:00:04 2011 +0000 @@ -237,6 +237,25 @@ ) } +# ssfs.slitaz.org +# +$HTTP["host"] =~ "ssfs\.slitaz\.org$" { + cgi.assign = ( + ".cgi" => "/bin/sh" + ) + index-file.names = ( "ssfs.cgi" ) + server.document-root = "/home/slitaz/www/ssfs" + auth.backend = "plain" + auth.backend.plain.userfile = "/etc/ssfs/httpd.users" + auth.require = ( "/home/" => + ( + "method" => "basic", + "realm" => "SliTaz Ssfs protected area", + "require" => "valid-user" + ) + ) +} + # These hosts are personnal website for me and my family, pankso.