Merge 979701668d
into 61bf3af041
This commit is contained in:
commit
5c466ac81f
|
@ -45,9 +45,10 @@ ErrorDocument 500 /assets/error-500.html
|
|||
|
||||
# Deny access to potentially sensitive files and folders
|
||||
RewriteRule ^vendor(/|$) - [F,L,NC]
|
||||
RewriteRule silverstripe-cache(/|$) - [F,L,NC]
|
||||
RewriteRule composer\.(json|lock) - [F,L,NC]
|
||||
|
||||
RewriteRule ^silverstripe-cache(/|$) - [F,L,NC]
|
||||
RewriteRule ^composer\.(json|lock)$ - [F,L,NC]
|
||||
RewriteRule ^\. - [F,L,NC]
|
||||
|
||||
# Process through SilverStripe if no file with the requested name exists.
|
||||
# Pass through the original path as a query parameter, and retain the existing parameters.
|
||||
RewriteCond %{REQUEST_URI} ^(.*)$
|
||||
|
|
Loading…
Reference in New Issue