These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for How to disable directory listing of /icons/ on the new forum.
I ran Nikto over my site and it showed that mysite.com/icons/ gave a directory listing, so does...
...how do we disable that?
.htaccess and use this "Options All -Indexes"
- I often come to the conclusion that my brain has too many tabs open. -
Failing at desktop publishing & graphic design since 1994.
Thanks Diabolico,
The listing results from an alias of the apache /icons/ folder - I "fixed" it by editing my httpd.conf file so it now contains...
Sorry i'm stupid this morning, blame lack of first morning coffee. Didnt notice that icons are from apache so this is what you need to do on Centos:
- go to /etc/httpd/conf.d
- nano autoindex.conf (or any other editor)
- find line something like this "Options Indexes MultiViews FollowSymlinks"
- delete Indexes
- restart apache
- no more indexing (you will get 403)
Not sure for other OS but i think it should be the same.
- I often come to the conclusion that my brain has too many tabs open. -
Failing at desktop publishing & graphic design since 1994.