kopia lustrzana https://github.com/magicbug/Cloudlog
Prevent .git being served by Webserver
Securitything: Prevent .git-directory being served/exposedpull/2232/head
rodzic
b1a535b259
commit
131abcce7d
|
@ -10,3 +10,5 @@ RewriteRule ^(.*)$ /index.php?/$1 "[L,QSA,B= ?,BNP]"
|
|||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
RewriteCond %{REQUEST_FILENAME} !-d
|
||||
RewriteRule ^(.*)$ /index.php?/$1 "[L,QSA,B= ?,BNP]"
|
||||
|
||||
RedirectMatch 404 ^/\.git
|
||||
|
|
Ładowanie…
Reference in New Issue