cosmin

Well-Known Member
Feb 6, 2002
160
3
318
Bucuresti
Hi!

How can I modify httpd.conf (???) for this problem:

Who access www.name.com/images/ (for example) can see the folder content, but I don't want this... and I don't want to put in every folder an index.html

Any sollutions?

Thanks!
 

Marty

Well-Known Member
Oct 10, 2001
629
1
318
Put a .htaccess file in the public_html directory with this as its sole contents:

Options -Indexes

If you want to disable it server wide, you can put that .htaccess file in the /home directory.