PDA

View Full Version : Ms Cleo


soggy
2004-01-30, 10:24 PM
I used your .htaccess code on your help page and it works great!

My question is how can i keep people from viewing my directories in say http:www.any-domain.com/any-site/pics

thanx in advance,

soggy

Cleo
2004-01-30, 10:49 PM
It depends on how your host has set things up, but this should work.

Put this in your htaccess file.

Options -Indexes

Also you can add this line so that php pages and stuff become valid index pages.

DirectoryIndex index.shtml index.php index.html index.htm