Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
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.
| |
|
Topic: AuthType Digest is not working using apache cold fusion |
|
Author |
|
ruthgoldson@optonline.net
Joined: 03 Feb 2015 Posts: 3 Location: ny
|
Posted: Fri 06 Mar '15 20:02 Post subject: AuthType Digest is not working using apache cold fusion |
|
|
I am getting an error
Authorization Required
This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.'
<Directory "d:/srv/Apache2/htdocs/CFIDE/administrator">
AuthType Digest
AllowOverride AuthConfig
Order Deny,Allow
allow from all
DirectoryIndex index.php index.html index.cfm
AuthName “cfadmins”
AuthDigestProvider file
AuthUserFile bin/cfadmins.pwd
Require valid-user
</Directory>
on the d:\srv\apache2\binhtdigest -c cfadmin.pwd cfadmins ruth
adding password type my password
Why it is not working
when I put the password after 3 times it gives me the error |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Mon 16 Mar '15 12:36 Post subject: |
|
|
Create the password file with
Code: |
htpasswd -bm cfadmin.pwd myName myPassword
|
|
|
Back to top |
|
glsmith Moderator
Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Mon 16 Mar '15 22:08 Post subject: |
|
|
but she's using Digest, not Basic.
htdigest -c cfadmin.pwd cfadmins ruth
I could not reproduce her problem, but I do not have coldfusion.
Both 2.2.29 and 2.4.12 it worked fine for me.
This is my digest, username: ruth password: test
Code: | ruth:cfadmins:addde9736e3572b17c19a8ca00bb5aaf
|
AuthName "cfadmins"
AuthType Digest
AuthDigestProvider file
AuthUserFile bin/cfadmin.pwd
Require valid-user |
|
Back to top |
|
|
|
|
|
|