Hello Guys,

Sometimes we need to disable apache server directory listing. Today I am going explain to you how to disable apache server directory listing.

First of all, you need to know why you disable it. If you don’t do that, then what will be happend??.

Actually server directory listing is representation of your server directory. that means any one can see easily how many file and folder available on your server.It’s helps to hacker to destroy or harm on your system

So you need to prevent this type of lacking. for that your need to give following command and safe on your system.

sudo sed -i "s/Options Indexes FollowSymLinks/Options FollowSymLinks/" /etc/apache2/apache2.conf

You may also like
How to install secure MySQL database on LINUX based Disto (UBUNTU/DEBIAN/Kali)