Forum Moderators: phranque
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.
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]
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.