Don't forget to put a dot before the filename and to keep the line breaks and upper case/lower case markings.The .htaccess and .htpasswd files have to be created in a text editor such as NotePad or BBEdit. It will not work if you use a HTML editor such as Netscape Composer, FrontPage, DreamWeaver, etc.

Windows and DOS will not allow you to save this file as .htaccess. To bypass this problem, assign it a temporary name (for instance, access.txt) and then rename it .htaccess, either during or after the transfer, using your file transfer software (FTP client).