Error being received in browser:
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.’
126.96.36.199 - - [08/May/2012:21:25:07 -0700] “GET /secure HTTP/1.1” 401 966 “-” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/534.54.16 (KHTML, like Gecko) Version/5.1.4 Safari/534.54.16”
error.log entry (obviously not the cause of the error, though I wonder whether this error log is set to not be very verbose):
[Tue May 08 21:25:07 2012] [error] [client 188.8.131.52] File does not exist: /home/gofishtechnologies/lookupguides.com/failed_auth.html
Steps taken prior to error:
- Created file /lookupguides.com/secure/.htaccess with the following contents:
deny from all
AuthName "Materials herein Copyright 2012 by Steven J. Stromer, all rights reserved. May not be duplicated or reproduced without written permission."
AuthDigestDomain /secure/ http://www.lookupguides.com/secure/ http://secure.lookupguides.com
Require group guests
BrowserMatch “MSIE” AuthDigestEnableQueryStringHack=On
- Created the file /groups.digest with the following contents:
- Shelled into account and executed the following commands:
/usr/bin/htdigest -c guests.digest guests guest
chmod 644 lookupguides.com/secure/.htaccess
chmod 644 groups.digest
chmod 644 guests.digest
I attempted to use both ‘AuthUserFile’ and ‘AuthDigestFile’ alternately in the .htaccess file, due to a documented bug in which ‘AuthDigestFile’ fails to work properly on DH servers. Despite the age of this known bug, the problem remains, since using ‘AuthDigestFile’ results in an Internal Server Error. By contrast, the Authentication Required’ error is a more manageable problem.
I attempted to set ‘AuthDigestQop’ to the default ‘auth,’ but receive an Internal Server Error message. Setting ‘AuthDigestQop’ to ‘auth-int’ (MD5) seems to work better, despite how illogical this seems to me.
I tried setting ‘AuthUserFile’ path to both /guests.digest and to /home/gofishtechnologies/guests.digest. The second seems correct, but clearly is not working.
I tried setting ‘AuthGroupFile’ path to both /groups.digest and to /home/gofishtechnologies/groups.digest. The second seems correct, but clearly is not working.
I tried setting ‘Require’ to ‘Require group guests’ and to ‘Require valid-users’. Neither corrects the error.
Thank you for your assistance.