Password protect a directory

  BIG Ben strikes 10 again! 15:03 13 Mar 2005

Hi all,

Can you tell me how to put a password on a directory with the popup screen?

I did originally have one on my entire site but that was no good so i just deleted the htaccess file,it was after i relised that you had to put the htaccess file into the directory you wanted to protect.


  The Ghost of Inept Pig 09:06 16 Mar 2005

click here

Any help?

  BIG Ben strikes 10 again! 16:44 16 Mar 2005

Thanks for that,only i don't know how to create htaccess files.


  Usayd 17:24 16 Mar 2005

to create a .htaccess file simply make a file in notepad, paste what you need and save it as .htaccess
when uploading it to your server it will come up as .htaccess.txt, rename this and remove the .txt and you will have a .htaccess file, providing your server supports them

This thread is now locked and can not be replied to.

Elsewhere on IDG sites

Samsung Galaxy S9 review

Explore Milton Glaser's iconic poster designs from the 1960s to present, including Bob Dylan, I…

What to expect at Apple's 27 March education event

Idées cadeaux pour geeks et tech addicts