]> git.pld-linux.org Git - packages/lighttpd.git/commitdiff
- better solution. configure status module only for localhost
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 17 Jul 2006 12:17:49 +0000 (12:17 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    lighttpd-mod_status.conf -> 1.4

lighttpd-mod_status.conf

index 324ba00fd9e547c873cf613269c3233f5e0a9634..62cd6c4de46d21f23dedbb69675ba50382336662 100644 (file)
@@ -1,15 +1,11 @@
+# status module
+
 server.modules += (
        "mod_status"
 )
 
-#### status module
-status.status-url = "/server-status"
-status.config-url = "/server-config"
-status.statistics-url = "/server-stats"
-
-# limit access only to localhost
-$HTTP["url"] =~ "^/server-(?status|config|stats)" {
-    $HTTP["remoteip"] != "127.0.0.1" {
-        url.access-deny = ( "" )
-    }
+$HTTP["remoteip"] == "127.0.0.1" {
+       status.status-url = "/server-status"
+       status.config-url = "/server-config"
+       status.statistics-url = "/server-stats"
 }
This page took 0.119344 seconds and 4 git commands to generate.