I am doing a school project for an introductory-level computer science course in high school.
I currently have a htaccess file in my directory with “Options +Indexes” inside it from a previous project, but for some reason the apache server refuses to provide me access to a specific directory that is two levels down from the one with the htaccess file. I was told that these file settings are inherited and would like to ask what might be the issue and what could be some possible solutions.
i tried to view a file that I should have been able to view with my htaccess configuration, but i was unable to and was given an error message saying that the server failed to read the file, and refused access for safety. There are no other .htaccess files in subdirectories between the one with the file and the targeted directory.
Nathan Lam is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.