hwg-techniques archives | Aug 2001 | new search | results | previous | next |
Re: htaccess and indexesby "Mike Taylor" <lonewolf(at)one.net> |
|
----- Original Message ----- From: "David Sharp" <David.Sharp(at)sharp-words.com> know what directive to put in my .htaccess file to prevent > users seeing the contents of a directory when that directory doesn't > contain an index file. I don't think the .htaccess file will be where you'd want to make these settings or if it's even possible. The sure-fire way to prevent unauthorized access to the directory is to just place an index.html file in every directory that you don't want them snooping in. You could even have that index.html redirect them to an error page. Mike
HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA