Creativebits.org

an All Creative World site
macboytoronto's picture
6 pencils

Password protecting websites

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 :)

Roland :)

Commenting on this Forum topic is closed.

ozskry's picture
61 pencils

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
6 pencils

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
188 pencils

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

Will

William's picture
188 pencils

you could try this program to help:

http://homepage.mac.com/onar/apacheprotect/

Creativebits is a blog about creativity, design and Macs. We also have a critique section where you can post your work to get opinions and a forum to discuss any design related topics.

Recommend us on Google

Latest critique

Do you need a great new logo?

If you need a logo for your company or product you can get it done with us.
In our logo store you can pick from over 28,000 pre-made logos that will be customized to your name for free or you can post a contest for us for just $250 and our designers from all over the world will submit dozens of logo design suggestions to your specific needs.

Marketplace