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

(12-01-2018, 10:00 AM)Balenus Wrote:
(12-01-2018, 09:20 AM)jreklund Wrote: They protect from a miss configured sever. If you open an folder without a index.html file, it will display the content instead.

Like this:
http://mirror.imt-systems.com/centos/7/

It won't show the content if you haveĀ an .htaccess "Deny from all" in the folder or in the parent folder.


True until:
  • Someone accidentally (or ignorantly) changes the server and removes mod_authz_core. OR
  • mod_authz_core gets corrupted and fails to load during one of Apache's periodic restarts. OR
  • Someone thinks that "those files that start with a dot don't do anything" and can be deleted.

Do not scoff at these examples I have seen and had to fix all of them. You may know what you're doing but the next guy might not.
Reply


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



Theme © iAndrew 2016 - Forum software by © MyBB