summaryrefslogtreecommitdiff
path: root/usr/local/etc
diff options
context:
space:
mode:
author53hornet <atc@53hor.net>2021-12-14 16:40:25 -0500
committer53hornet <atc@53hor.net>2021-12-14 16:40:25 -0500
commite48afd5ff016c17d955e76b89b92d900a693ecab (patch)
treee5cee8c4bfbff98d4e8caf53df80cd6f6fa9bfba /usr/local/etc
parent3ea2f0665bb7f0d1c32186e068638274b02cf6f5 (diff)
downloadwww-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.conf5
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 = ("")
}