summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author53hornet <atc@53hor.net>2021-12-14 16:43:18 -0500
committer53hornet <atc@53hor.net>2021-12-14 16:43:18 -0500
commit7ac270782d15ec54a3c6f0f74bd4be6f530d04e5 (patch)
tree45516f4d325f6bd60e00f337c1d782c022ed1573
parente48afd5ff016c17d955e76b89b92d900a693ecab (diff)
downloadwww-7ac270782d15ec54a3c6f0f74bd4be6f530d04e5.tar.xz
www-7ac270782d15ec54a3c6f0f74bd4be6f530d04e5.zip
fix: all scripts will be in denied scripts dir
-rw-r--r--usr/local/etc/lighttpd/conf.d/access.conf2
1 files changed, 1 insertions, 1 deletions
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 = ("")
}