Fixed lighttpd.conf access-deny rule [#1876]

This commit is contained in:
Matias Griese
2021-01-20 15:50:07 +02:00
parent a0c3140e6d
commit 5f9c434aea
2 changed files with 2 additions and 1 deletions

View File

@@ -9,6 +9,7 @@
* Fixed `bin/gpm selfupgrade` error on `Call to undefined method` [#3160](https://github.com/getgrav/grav/issues/3160)
* Flex Pages: Fixed fatal error when trying to move a page to Root (/) [#3161](https://github.com/getgrav/grav/issues/3161)
* Fixed twig parsing errors in pages where twig is parsed after markdown [#3162](https://github.com/getgrav/grav/issues/3162)
* Fixed `lighttpd.conf` access-deny rule [#1876](https://github.com/getgrav/grav/issues/1876)
# v1.7.0
## 01/19/2021

View File

@@ -39,7 +39,7 @@ $HTTP["url"] =~ "^/grav_path/(system|user|vendor)/(.*)\.(txt|md|html|yaml|yml|ph
$HTTP["url"] =~ "^/grav_path/(\.(.*))" {
url.access-deny = ("")
}
url.access-deny = (".md","~",".inc")
url.access-deny += (".md","~",".inc")
#PREVENT BROWSING AND SET INDEXES
$HTTP["url"] =~ "^/grav_path($|/)" {