Block common log file names in .htaccess
This commit is contained in:
parent
5d778fa2a5
commit
d7834c5ae7
|
@ -49,6 +49,7 @@ ErrorDocument 500 /assets/error-500.html
|
|||
RewriteRule ^vendor(/|$) - [F,L,NC]
|
||||
RewriteRule silverstripe-cache(/|$) - [F,L,NC]
|
||||
RewriteRule composer\.(json|lock) - [F,L,NC]
|
||||
RewriteRule (error|silverstripe|debug)\.log - [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.
|
||||
|
|
Loading…
Reference in New Issue