Don't allow Apache to serve git files

This commit is contained in:
Hanno Zulla 2015-06-22 15:22:51 +02:00
parent d8f3a7839c
commit 3a2da3df98

View File

@ -1,5 +1,7 @@
Options -Indexes
RedirectMatch 404 /\.git
# ---
# Uncomment these lines to change PHP parameters if you are using the PHP Apache module
# ---
@ -16,4 +18,4 @@ Options -Indexes
# ---
#Header add Access-Control-Allow-Origin "*"
#Header add Access-Control-Allow-Headers "origin, x-requested-with, content-type"
#Header add Access-Control-Allow-Methods "PUT, GET, POST, DELETE, OPTIONS"
#Header add Access-Control-Allow-Methods "PUT, GET, POST, DELETE, OPTIONS"