Delete all the index.html file "Directory access is forbidden." when using .htaccess |
(12-01-2018, 10:00 AM)Balenus Wrote: It won't show the content if you haveĀ an .htaccess "Deny from all" in the folder or in the parent folder. Well, first of all, "Deny from all" is deprecated in Apache v > 2.4 syntax and it should be "Require all denied". Second, and most important. the "public" folder of a website must be set to "Allow from all" or "Require all granted" or requests for files in that folder (and subfolders) will be denied meaning webpages won't show. |
Welcome Guest, Not a member yet? Register Sign In |