How to turn off AutoIndex / Index of Web Server?
Posted 21 September 2009 - 08:36 PM
It is on by default.
I need it to be off by default for security purposes.
Posted 21 September 2009 - 08:59 PM
and you should see something like the following after it:
Options Indexes FollowSymLinks
To disable directory listing, just remove ‘Indexes’ from this line or change ‘Indexes’ to ‘-Indexes’
Make sure to restart your Apache server afterwards and clear your webcache if there's any in the way.
You may also use .htaccess file for passing this directive if you want to disable directory listing for a domain.
Posted 22 September 2009 - 03:30 AM
How do I do this on shared web hosting?
Posted 22 September 2009 - 08:54 AM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users