Preventing http directory listing


#1

Is there some way to prevent the listing of a directory other than including an index.html which redirects to does something else?

TIA,

Bill


#2

I put an .htaccess file in the directory that includes the line

Options -Indexes

I usually do that at the top level directory and it seems to apply to everything below it.