Apache : Directory index forbidden by Options directive:/srv/www/htdocs/testFolder -


saw duplicate questions , solutions, not seem solve below problem

i trying allow access folder through apache, , /var/log/apache2/ throws above error.

my httpd.conf is

# forbid access entire filesystem default <directory />     options followsymlinks     allowoverride none     order deny,allow     allow </directory> 

i tried options +indexes, options doesnt seem work. tried change permissions of folder too. added dummy index.html in folder well

the folder located @ /srv/www/htdocs/testfolder.

any ideas?

change config

options -indexes followsymlinks allowoverride order allow,deny allow 

after create .htaccess file in folder , add

options +indexes 

to it. need reload apache.


Comments

Popular posts from this blog

java - Date formats difference between yyyy-MM-dd'T'HH:mm:ss and yyyy-MM-dd'T'HH:mm:ssXXX -

c# - Get rid of xmlns attribute when adding node to existing xml -