logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Windows Apache authentication
Author
crckr



Joined: 26 Apr 2006
Posts: 18

PostPosted: Tue 13 Jan '09 18:53    Post subject: Windows Apache authentication Reply with quote

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

PostPosted: Tue 13 Jan '09 19:26    Post subject: Reply with quote

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

PostPosted: Tue 13 Jan '09 19:32    Post subject: Reply with quote

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

PostPosted: Tue 13 Jan '09 20:00    Post subject: Reply with quote

i guess i had something misspelled. Basic works now.
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Tue 13 Jan '09 20:06    Post subject: Reply with quote

...
Back to top


Reply to topic   Topic: Windows Apache authentication View previous topic :: View next topic
Post new topic   Forum Index -> Apache