From 788c54ea9c98a5380cbcf1d352ccc7a355507e23 Mon Sep 17 00:00:00 2001 From: Markus Ast Date: Fri, 12 Feb 2016 14:49:06 +0100 Subject: [PATCH] fix lighttpd config --- webserver-configs/lighttpd.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webserver-configs/lighttpd.conf b/webserver-configs/lighttpd.conf index a4775a555..df77c6902 100644 --- a/webserver-configs/lighttpd.conf +++ b/webserver-configs/lighttpd.conf @@ -36,7 +36,7 @@ $HTTP["url"] =~ "^/grav_path/(.git|cache|bin|logs|backup|tests)/(.*)" { $HTTP["url"] =~ "^/grav_path/(system|user|vendor)/(.*)\.(txt|md|html|yaml|php|twig|sh|bat)$" { url.access-deny = ("") } -$HTTP["url"] =~ "^/grav_path/(\.(.*))|(\.(.*)/)" { +$HTTP["url"] =~ "^/grav_path/(\.(.*))" { url.access-deny = ("") } url.access-deny = (".md","~",".inc")