HTTP Auth Digest

Problems with the Windows version of XAMPP, questions, comments, and anything related.

HTTP Auth Digest

Postby -=Renegade=- » 24. January 2010 21:26

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
-=Renegade=-
 
Posts: 3
Joined: 24. January 2010 21:21

Re: HTTP Auth Digest

Postby Wiedmann » 24. January 2010 22:30

always get HTTP 500 Internal Server Error

Read the "error.log".
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: HTTP Auth Digest

Postby -=Renegade=- » 24. January 2010 23:48

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??
Last edited by -=Renegade=- on 26. January 2010 11:34, edited 1 time in total.
-=Renegade=-
 
Posts: 3
Joined: 24. January 2010 21:21

Re: HTTP Auth Digest

Postby Wiedmann » 25. January 2010 00:41

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.
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: HTTP Auth Digest

Postby -=Renegade=- » 26. January 2010 11:35

Solution: It is not enabled by default :)


Thanks
-=Renegade=-
 
Posts: 3
Joined: 24. January 2010 21:21


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 99 guests