| Author |
|
crckr
Joined: 26 Apr 2006 Posts: 18
|
Posted: Tue 13 Jan '09 18:53 Post subject: Windows Apache authentication |
|
|
I'm trying to get basic and then eventually digest authentication to work on my windows installation of apache 2.0.63. I have it set up like
| Code: |
<directory ....>
Order allow,deny
Allow from all
AuthName "login Required"
AuthType Basic
AuthUserFile "C:/Program Files/Apache Group/Apache2/digest"
require valid-user
</directory>
|
This does ask for authentication but the user/passwords specified in the file never succeed for authentication. Am i missing something?
Last edited by crckr on Tue 13 Jan '09 19:54; edited 1 time in total |
|
| Back to top |
|
glsmith Moderator

Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Tue 13 Jan '09 19:26 Post subject: |
|
|
Just assuming....
htdigest.exe is for making the digest type of password files.
For basic auth, htpasswd.exe needs to be used.
They are not interchangeable. |
|
| Back to top |
|
crckr
Joined: 26 Apr 2006 Posts: 18
|
Posted: Tue 13 Jan '09 19:32 Post subject: |
|
|
I originally tried digest first and just named the password file digest. I've been using htpasswd.exe to make my passwords for basic authentication since digest authentcation was causing apache to crash
| Code: | | b:$apr1$ph5.....$yqQO.UuC369gZsaRCPjD90 |
this is the password file. username and password is 'b' |
|
| Back to top |
|
crckr
Joined: 26 Apr 2006 Posts: 18
|
Posted: Tue 13 Jan '09 20:00 Post subject: |
|
|
| i guess i had something misspelled. Basic works now. |
|
| Back to top |
|
glsmith Moderator

Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Tue 13 Jan '09 20:06 Post subject: |
|
|
| ... |
|
| Back to top |
|