Changed /assets/ folder access denying method because CSS for error page doesn't load.

migrationdev
YandolsZX 7 years ago
parent 0813e134ea
commit bf7b1902de
  1. 4
      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/?$

Loading…
Cancel
Save