Reduce count of .htaccess files

Fixes #34
This commit is contained in:
Dmitriy Simushev 2014-07-11 13:33:59 +00:00
parent 7ce675da86
commit e3e25f78d7
5 changed files with 2 additions and 12 deletions

View File

@ -44,7 +44,7 @@ Options +FollowSymLinks
RewriteRule ^(.*)$ app.php [QSA,L] RewriteRule ^(.*)$ app.php [QSA,L]
</IfModule> </IfModule>
# Deny access to .yml files # Deny access to internal system files
<FilesMatch "\.yml$"> <FilesMatch "\.(yml|po|ini|handlebars|keep)$">
Deny from all Deny from all
</FilesMatch> </FilesMatch>

View File

@ -1 +0,0 @@
Deny from all

View File

@ -1,3 +0,0 @@
<FilesMatch "\.(ini|handlebars)$">
Deny from all
</FilesMatch>

View File

@ -1,3 +0,0 @@
<FilesMatch "\.ini$">
Deny from all
</FilesMatch>

View File

@ -1,3 +0,0 @@
<FilesMatch "\.(ini|handlebars)$">
Deny from all
</FilesMatch>