Welcome Guest, Not a member yet? Register   Sign In
Delete all the index.html file "Directory access is forbidden." when using .htaccess
#7

(This post was last modified: 12-01-2018, 03:05 PM by dave friend.)

(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.
Reply


Messages In This Thread
RE: Delete all the index.html file "Directory access is forbidden." when using .htaccess - by dave friend - 12-01-2018, 03:03 PM



Theme © iAndrew 2016 - Forum software by © MyBB