Delete all the index.html file "Directory access is forbidden." when using .htaccess |
(12-01-2018, 03:57 PM)Balenus Wrote: The files are not in a public folder, I'm protecting "application" and "CodeIgniter-3.1.9" inside a private folder that is protected by the .htaccess as suggested by the guide: This comment of yours early on had me concerned and thinking you might not fully understand. (11-30-2018, 01:26 PM)Balenus Wrote: I am already using .htaccess in top folder to make all directories tree completely forbidden to anyone (i.e. "Deny from all") To me "top folder" implied the "public" folder. (12-02-2018, 08:05 AM)dave friend Wrote: To me "top folder" implied the "public" folder. No, my structure is this one Code: index.php Where -- means a folder I'm sorry, I should have write this one down in the OP)
(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. True until:
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. (12-02-2018, 08:23 AM)dave friend Wrote:(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. Far it form me to scoff a user who is donating some of his time to reply to my OP. True that when mod_authz_core is removed or fails the index.html files can give some protection.
As long as we're talking about .htaccess, you all might find these two articles interesting
Don't Use .htaccess Unless You Must Stop using .htaccess files! No, really. |
Welcome Guest, Not a member yet? Register Sign In |