Apache Security Fix

Denies access to dotfiles on Apache webserver
This commit is contained in:
Mathieu Aubin
2016-07-05 01:07:29 -04:00
committed by GitHub
parent 0e78dce54d
commit f9afc49708

6
.htaccess Normal file
View File

@@ -0,0 +1,6 @@
# Restrict access to DotFiles (like .htaccess, .env, .gitignore....)
# Do not remove if you are running Apache web server.
<FilesMatch "^\.">
Order allow,deny
Deny from all
</FilesMatch>