Forum Moderators: phranque

Message Too Old, No Replies

How do I create a password?

I'm very new and have no clue what I'm doing

         

Mobarushi

6:53 pm on Jan 16, 2006 (gmt 0)

10+ Year Member



Hello,

I'm very new to Apache and I want to create a password to enter my website.

If anyone could help me and provide a simple step-by-step way in doing this. Including creating a ".htaccess" file. (if that is even necessary.) Or if someone could direct me to a program that would create a password script or such for me I would be very grateful of them.

coopster

7:00 pm on Jan 16, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld, Mobarushi.

If you are talking about Apache's Basic Authentication then you would use the Apache-supplied password utility. I would recommend the following minimal reading to get started:

Authentication, Authorization and Access Control [httpd.apache.org]
Apache Tutorial: .htaccess files [httpd.apache.org]

Mobarushi

6:37 pm on Jan 17, 2006 (gmt 0)

10+ Year Member



Hi there,

First off thank you very much for the reference.

When I was following the directions provided by the first link you gave me I got to the part where you have to run the "htpasswd" program. When I tried to run the program, I saw the program load but then it would automatically close.

What should I do?

Again, thanks very much for your help.

coopster

8:10 pm on Jan 17, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



When you run the program it will ask you for the password, and then ask you to type it again to confirm it. The program is a command line utility that you run from the bash prompt.