diff options
author | 53hornet <atc@53hor.net> | 2021-12-14 16:43:18 -0500 |
---|---|---|
committer | 53hornet <atc@53hor.net> | 2021-12-14 16:43:18 -0500 |
commit | 7ac270782d15ec54a3c6f0f74bd4be6f530d04e5 (patch) | |
tree | 45516f4d325f6bd60e00f337c1d782c022ed1573 | |
parent | e48afd5ff016c17d955e76b89b92d900a693ecab (diff) | |
download | www-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.conf | 2 |
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 = ("") } |