Page 1 of 1

Apache Authentication

Posted: Fri Oct 15, 2004 2:03 pm
by Kingo
Hello,
I'm trying to authenticate a user to the Apache web server.
I did the following but was not successful.

1.on DOS

C:\Program Files\Apache Group\Apache\bin>htpasswd.exe -c kpasswords kusers
Automatically using MD5 format on Windows.
New password: ******
Re-type new password: ******
Adding password for user kusers

Posted: Fri Oct 15, 2004 2:06 pm
by Kingo
I have a directory by name php_files under htdocs that I want to protect.

Posted: Fri Oct 15, 2004 2:08 pm
by Kingo
I created the htaccess file under C:\Program Files\Apache Group\Apache\bin

Posted: Fri Oct 15, 2004 2:08 pm
by Kingo
my htaccess file has the following
AuthName "Add your login message here."
AuthType Basic
AuthUserFile /C/Program Files/Apache Group/Apache/bin
require user kusers


I'm not able to authenticate. Pleae help me out. ANy help is really appreciated