Skip to content

Commit 2b3ff95

Browse files
author
wrongecho
committed
Hide the .git and .github folders as well as config.php
1 parent b1f0cfa commit 2b3ff95

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.htaccess

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Prevent access to .git, .github, and config.php
2+
RedirectMatch 404 ^/(\.git|\.github|config\.php)

0 commit comments

Comments
 (0)