From 7ac270782d15ec54a3c6f0f74bd4be6f530d04e5 Mon Sep 17 00:00:00 2001 From: 53hornet Date: Tue, 14 Dec 2021 16:43:18 -0500 Subject: fix: all scripts will be in denied scripts dir --- usr/local/etc/lighttpd/conf.d/access.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/local/etc/lighttpd/conf.d/access.conf b/usr/local/etc/lighttpd/conf.d/access.conf index d32a008..a0607ee 100644 --- a/usr/local/etc/lighttpd/conf.d/access.conf +++ b/usr/local/etc/lighttpd/conf.d/access.conf @@ -2,6 +2,6 @@ server.modules += ( "mod_access" ) $HTTP["url"] =~ "^/drafts/" { url.access-deny = ("") } -$HTTP["url"] =~ "/new.php" { +$HTTP["url"] =~ "^/scripts/" { url.access-deny = ("") } -- cgit v1.2.3