On my apache, there is
on httpd.conf to ignore directory browsing. It is working ok.
On httpd.conf-file there is also directory settings for my directory:
Options Indexes Includes
AuthName "Password Required"
Allow from all
That is also directory, which I like to make browsable. I have added .htaccess-file to this directory.
I get message:
You don't have permission to access /files/ on this server.
On error_log I get:
Directory index forbidden by Options directive: /var/www/html/files/
What am I missing?