From e48afd5ff016c17d955e76b89b92d900a693ecab Mon Sep 17 00:00:00 2001 From: 53hornet Date: Tue, 14 Dec 2021 16:40:25 -0500 Subject: fix: deny access to new script --- usr/local/etc/lighttpd/conf.d/access.conf | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'usr/local/etc/lighttpd/conf.d/access.conf') diff --git a/usr/local/etc/lighttpd/conf.d/access.conf b/usr/local/etc/lighttpd/conf.d/access.conf index ea3f1d8..d32a008 100644 --- a/usr/local/etc/lighttpd/conf.d/access.conf +++ b/usr/local/etc/lighttpd/conf.d/access.conf @@ -1,4 +1,7 @@ server.modules += ( "mod_access" ) $HTTP["url"] =~ "^/drafts/" { - url.access-deny = ("") + url.access-deny = ("") +} +$HTTP["url"] =~ "/new.php" { + url.access-deny = ("") } -- cgit v1.2.3