Re: stupid, simple question

by "Philip Drew" <cybertech(at)esatclear.ie>

 Date:  Fri, 10 Jan 2003 10:23:56 GMT
 To:  "Paul Crichton" <pcrichton(at)netphysic.com>,
<hwg-techniques(at)hwg.org>
  todo: View Thread, Original
Paul,

If you are using a Unix server you need to create a .htaccess file with the
following entry:
Options -Indexes 

Save this file and then upload it to the directory and whenever someone views
the directory it won't list the files.

Philip

>Guys
>
>Just a quick question;  When you have a directory that doesn't have an
>index.html page, what do you do to stop people getting a look at the
>contents of that directory when they type, "www.domain.com/directory/"?
>
>Paul
>
>
>
>This e-mail is confidential and may be privileged.
>It may be read, copied and used only by the intended recipient.
>If you have received it in error, please contact the sender
>immediately by return e-mail or by telephoning +44 (0)20 8296 0971.
>Please then delete the e-mail and do not disclose its contents to any
>person. We believe, but do not warrant that this e-mail and any attachments,

>are virus free. You should take full responsibility for virus checking.
>
>
Philip Drew 

--
http://www.iol.ie

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA