+2 votes
in Web & Google by (54.5k points)
I have created a subdomain, but when I try to access it, it gives error ".htaccess: Options not allowed here". I am using Apache 2.4.34 as web server and Nginx as reverse proxy.

1 Answer

0 votes
by (233k points)
edited by

If you have .htaccess file in the public_html folder, make sure that it does not have the following lines:

Options -Indexes

or 

Options +Indexes

or

Options Indexes

If you want to disable directory listing/browsing, you can add "IndexIgnore *" in your .htaccess file. Check this link


...