From 788a30a26ea37725708b498d977ae460e5745382 Mon Sep 17 00:00:00 2001 From: printempw Date: Tue, 7 Nov 2017 21:31:16 +0800 Subject: [PATCH] Update .htaccess --- .htaccess | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.htaccess b/.htaccess index e1c46f57..d01bce0a 100644 --- a/.htaccess +++ b/.htaccess @@ -2,13 +2,9 @@ RewriteEngine On RewriteBase / +RewriteRule (^\.|/\.) - [F] + RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^.*$ index.php [L] - -# Protect .env file - - Order allow,deny - Deny from all -