On my apache, there is
on httpd.conf to ignore directory browsing. It is working ok.Code:IndexIgnore *
On httpd.conf-file there is also directory settings for my directory:
That is also directory, which I like to make browsable. I have added .htaccess-file to this directory.Code:<Directory "/var/www/html/files/"> Options Indexes Includes AllowOverride AuthConfig AuthType Basic AuthName "Password Required" AuthUserFile /var/www/passwords/.htpass Order allow,deny Allow from all </Directory>
I get message:Code:Options -Indexes
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?