diff options
author | 53hornet <atc@53hor.net> | 2021-12-14 16:40:25 -0500 |
---|---|---|
committer | 53hornet <atc@53hor.net> | 2021-12-14 16:40:25 -0500 |
commit | e48afd5ff016c17d955e76b89b92d900a693ecab (patch) | |
tree | e5cee8c4bfbff98d4e8caf53df80cd6f6fa9bfba /usr/local/etc | |
parent | 3ea2f0665bb7f0d1c32186e068638274b02cf6f5 (diff) | |
download | www-e48afd5ff016c17d955e76b89b92d900a693ecab.tar.xz www-e48afd5ff016c17d955e76b89b92d900a693ecab.zip |
fix: deny access to new script
Diffstat (limited to 'usr/local/etc')
-rw-r--r-- | usr/local/etc/lighttpd/conf.d/access.conf | 5 |
1 files changed, 4 insertions, 1 deletions
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 = ("") } |