Skip to content

Commit

Permalink
Drop access to tests folder
Browse files Browse the repository at this point in the history
  • Loading branch information
flaviocopes committed Jan 15, 2016
1 parent 3695ff3 commit 27ab57e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ RewriteRule .* index.php [L]

## Begin - Security
# Block all direct access for these folders
RewriteRule ^(.git|cache|bin|logs|backup|webserver-configs)/(.*) error [F]
RewriteRule ^(.git|cache|bin|logs|backup|webserver-configs|tests)/(.*) error [F]
# Block access to specific file types for these system folders
RewriteRule ^(system|vendor)/(.*)\.(txt|xml|md|html|yaml|php|pl|py|cgi|twig|sh|bat)$ error [F]
# Block access to specific file types for these user folders
Expand Down

0 comments on commit 27ab57e

Please sign in to comment.