updated core to 1.7.15
This commit is contained in:
@@ -23,7 +23,7 @@ $HTTP["querystring"] =~ "_REQUEST(=|\[|\%[0-9A-Z])" {
|
||||
|
||||
#REROUTING TO THE INDEX PAGE
|
||||
url.rewrite-if-not-file = (
|
||||
"^/grav_path/(.*)$" => "/grav_path/index.php$1"
|
||||
"^/grav_path/(.*)$" => "/grav_path/index.php?$1"
|
||||
)
|
||||
|
||||
#IMPROVING SECURITY
|
||||
@@ -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($|/)" {
|
||||
|
||||
Reference in New Issue
Block a user