Pārlūkot izejas kodu

lighttpd current config

Danja Vasiliev 10 gadi atpakaļ
vecāks
revīzija
e5d5ce0c14

BIN
openwrt/.collect-local.sh.swp


+ 0 - 1
openwrt/rootFS/etc/lighttpd/.htpasswd

@@ -1 +0,0 @@
-testglue:superglue test:44d79ae6b6a089c43fd7b7ef59bc39b9

+ 6 - 0
openwrt/rootFS/etc/lighttpd/htpasswd-dist

@@ -0,0 +1,6 @@
+# to enable HTTP authentication you should must this file
+# to .htpasswd and run a following command:
+#
+# # htdigest .htpasswd superglue username
+#
+# and then provide a password

+ 1 - 1
openwrt/rootFS/etc/lighttpd/lighttpd.conf

@@ -46,6 +46,6 @@ $HTTP["request-method"] == "POST" {
  url.rewrite = ( ".*" => "post.sh" )
 }
 
-auth.require = ( "/post.sh" => ( "method" => "digest", "realm" => "superglue test", "require" => "valid-user" ) )
+#auth.require = ( "/post.sh" => ( "method" => "digest", "realm" => "superglue test", "require" => "valid-user" ) )
 
 include "/etc/lighttpd/mime.conf"

+ 0 - 1
openwrt/rootFS/mnt/sda1-dist/htdigest.user

@@ -1 +0,0 @@
-testglue:superglue test:44d79ae6b6a089c43fd7b7ef59bc39b9