Quantcast

Password protecting websites

macboytoronto's picture

I recently read an article here about how to password protect webs sites. I followed the instructions as outlined in the tutorial, but I have been unable to reproduce the results which were outlined in this tutorial. Specifically, getting the login window to appear requesting username and password.

The original article appeared on this web site. The exact url is http://creativebits.org/How_to_Password_Protect_websites_usinghtaccess.

Roland :)

ozskry's picture

Some possible mistakes: -

Some possible mistakes:

- htaccess files must be uploaded as ASCII mode, not BINARY

- you may need to CHMOD (set permissions) the htaccess file to 644 or (RW-R--R--)

- htaccess is an Apache thing. Do you have an Apache server?

- most commands in htaccess are meant to be placed on one line only

macboytoronto's picture

re: your reply to password protecting web sites query

Thanks for your info.

I created the .htaccess using Pico.

I verified permissions and they are set to 644 for this file.

I am running Apache as part of my Tiger installation.

In answer to your last question, I typed out the information for the .htaccess file with single breaks between the major lines.

Roland :)

William's picture

files

Can you copy and paste the content of the htaccess files and the password file here?

Will

--
http://www.macscan.net/

William's picture

software

User login

Partner With Us













Latest critique

3 Dog North Christmas Card