From f9afc49708b29a939be7d8d0f588adefd4eeb3db Mon Sep 17 00:00:00 2001 From: Mathieu Aubin Date: Tue, 5 Jul 2016 01:07:29 -0400 Subject: [PATCH] Apache Security Fix Denies access to dotfiles on Apache webserver --- .htaccess | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .htaccess diff --git a/.htaccess b/.htaccess new file mode 100644 index 000000000..bf7ee9cf9 --- /dev/null +++ b/.htaccess @@ -0,0 +1,6 @@ +# Restrict access to DotFiles (like .htaccess, .env, .gitignore....) +# Do not remove if you are running Apache web server. + + Order allow,deny + Deny from all +