diff --git a/public/.htaccess b/public/.htaccess index 04e08bafe..e2ed529bd 100644 --- a/public/.htaccess +++ b/public/.htaccess @@ -13,3 +13,10 @@ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^ index.php [L] + +# Restrict access to DotFiles (like .htaccess, .env, .gitignore....) +# Do not remove if you are running Apache web server. + + Order allow,deny + Deny from all +