1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-04-26 04:45:22 -04:00

return 404 for .git files and folders

This commit is contained in:
Jake Jarvis 2018-02-22 11:27:09 -05:00
parent b5ef92c47d
commit 8c17ebfbb5

View File

@ -7,3 +7,6 @@ RewriteCond %{HTTP_HOST} ^www.jakejarvis.org$ [OR]
RewriteCond %{HTTP_HOST} ^jakejarv.is$ [OR]
RewriteCond %{HTTP_HOST} ^www.jakejarv.is$
RewriteRule (.*)$ https://jakejarvis.com/$1 [R=301,L]
RedirectMatch 404 /\.git