Hide the .git and .github folders as well as config.php

This commit is contained in:
wrongecho 2025-01-24 19:30:22 +00:00
parent b1f0cfa29a
commit 2b3ff954c3
1 changed files with 2 additions and 0 deletions

2
.htaccess Normal file
View File

@ -0,0 +1,2 @@
# Prevent access to .git, .github, and config.php
RedirectMatch 404 ^/(\.git|\.github|config\.php)