How to disable directory or file listing for particular website?

a)vi .htaccess

Options All -Indexes

save the changes.

OR

a)vi .htaccess

add this to the file

IndexIgnore *

 

Find help on this link for most of the general soultions regarding directory listing:

http://www.clockwatchers.com/htaccess_dir.html

 

 

Both comments and pings are currently closed.

Comments are closed.