/etc/apache2/httpd.conf
Add line
Options –Indexes
sudo /etc/init.d/apache2 reload

OR

/etc/apache2/sites-availabl/[sitename]
find line:
Options Indexes FollowSymLinks MultiViews
And add "-" in front of the "Indexes":
Options -Indexes FollowSymLinks MultiViews
sudo /etc/init.d/apache2 reload

Ubuntu Server



No comments

Leave your comment

In reply to Some User
Captcha Image