Forbid access to .git/

This commit is contained in:
thopic 2023-10-05 10:47:12 +02:00
parent 6551149486
commit 3c1e17996d
Signed by: thopic
GPG Key ID: 292DBBF0B54AD4C5

View File

@ -1,2 +1,3 @@
RewriteEngine on RewriteEngine on
FallbackResource /index.php FallbackResource /index.php
RedirectMatch 403 ^/.git/.*$