From bf7b1902de4e704fc2f37adbaa4a38be06377a9a Mon Sep 17 00:00:00 2001 From: Yandols Date: Sun, 4 Feb 2018 04:55:45 +0800 Subject: [PATCH] Changed /assets/ folder access denying method because CSS for error page doesn't load. --- public/.htaccess | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/.htaccess b/public/.htaccess index ed0a720..c0af3fa 100644 --- a/public/.htaccess +++ b/public/.htaccess @@ -2,7 +2,7 @@ ErrorDocument 403 /403.php ErrorDocument 404 /404.php IndexOptions +FancyIndexing -IndexIgnore *.php *.html *.css *.js +IndexIgnore * # HTTPS Redirection RewriteEngine On @@ -22,4 +22,4 @@ RewriteCond %{HTTP_USER_AGENT} (.*)Msqq(.*) RewriteRule .* http://www.urbandictionary.com/define.php?term=fuck+you [R=301,L] #Preventing Public Access to assets folder -RedirectMatch 403 ^/assets/?$ +#RedirectMatch 403 ^/assets/?$