How do I disable directory browsing?
Create an .htaccess file containing the following line: Options -Indexes That is one option. Another option is editing your apache configuration file. In order to do so, you first need to open it with the command: vim /etc/httpd/conf/httpd.conf Then find the line: Options Indexes FollowSymLinks Change that line to: Options FollowSymLinks Lastly save and exit … Read more