Update .htaccess

flarum/core#692 protect composer.lock, but also improve protection for git directories
pull/41/head
Daniël Klabbers 2017-04-07 13:39:46 +02:00 committed by GitHub
parent ba53bc77fd
commit 0ba01391e8
1 changed files with 2 additions and 1 deletions

View File

@ -26,7 +26,8 @@
RewriteRule ^vendor/(.*)?$ / [F,L]
RewriteRule ^storage/(.*)?$ / [F,L]
RewriteRule ^config.php$ / [F,L]
RewriteRule ^.git/(.*)?$ / [F,L]
RewriteRule /\.git / [F,L]
RewriteRule ^composer\.lock$ / [F,L]
RewriteRule ^api(.*)$ api.php [QSA,L]
RewriteRule ^admin(.*)$ admin.php [QSA,L]