Jump to content

Recommended Posts

Posted

I can't get Digest Authorization to work.

 

My .htaccess file looks like this:

 

ExpiresActive Off

Header append Cache-Control "no-cache"

BrowserMatch "MSIE" AuthDigestEnableQueryStringHack=On

 

AuthType Digest

AuthName "My Protected Area 1"

AuthUserFile /home/sylvest/memberplus/passwd

Require valid-user

 

-----------

 

The passwd file looks like this:

 

admin:$apr1$vNPbekIW$YT8.KEIRRSiAkVESZVarn.

admin:PePpH3sRcEdno

rowan.bradley:$apr1$ToFKdZyL$9GKPrDjjLSr1oIOlF1bLk.

rowan.bradley:xSA/797wQy8Mg

 

-----------

 

It just keeps asking me for a username and password even if I enter the correct username and password. It's the same in IE8 and Firefox, so it's not an IE specific problem.

 

If I simply change the word Digest to Basic, it works fine in both IE8 and FF.

 

What have I got wrong?

 

Thanks - Rowan

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...