Page 1 of 1

HTTP Auth Digest

PostPosted: 24. January 2010 21:26
by -=Renegade=-
I can't get HTTP Auth Digest working in Windows

Isn't it enabled by default in Windows??

My code is the following:
.htaccess
Code: Select all
AuthType Digest
AuthName "Authentication"
AuthDigestDomain /test/ http://localhost/test/
AuthDigestProvider file
AuthUserFile ../htdocs/test/phpscripts/auth/.htusers
require valid-user

directoryindex main.php


.htuser
Code: Select all
VC-Administrator:Authentication:4a1a8f4b645224e4bfe7c9e654244f96


Basic Authentication has worked perfectly but I don't get digest working, always get HTTP 500 Internal Server Error

Anything I have overseen?


Thanks in advance

Re: HTTP Auth Digest

PostPosted: 24. January 2010 22:30
by Wiedmann
always get HTTP 500 Internal Server Error

Read the "error.log".

Re: HTTP Auth Digest

PostPosted: 24. January 2010 23:48
by -=Renegade=-
Good hint, seems as if he doesn't know AuthDigestDomain and AuthDigestProvider.

[Sun Jan 24 20:48:44 2010] [alert] [client 127.0.0.1] C:/xampp/htdocs/test/.htaccess: Invalid command 'AuthDigestProvider', perhaps misspelled or defined by a module not included in the server configuration
[Sun Jan 24 20:49:36 2010] [alert] [client 127.0.0.1] C:/xampp/htdocs/test/.htaccess: Invalid command 'AuthDigestDomain', perhaps misspelled or defined by a module not included in the server configuration

Seems as if Mod_Auth_Digest is not enabled if it must be enabled in Windows??

Re: HTTP Auth Digest

PostPosted: 25. January 2010 00:41
by Wiedmann
Seems as if Mod_Auth_Digest is not enabled if it must be enabled in Windows??

I don't know. Just open "httpd.conf" and look if it's enabled in your installation, or not.

Re: HTTP Auth Digest

PostPosted: 26. January 2010 11:35
by -=Renegade=-
Solution: It is not enabled by default :)


Thanks