Apache password authentication does not work?

O

old.azukich

Guest
I'm just trying to make a directory have password authentication on winnt.

I've created .htaccess and put it in the directory that I want protected. Here it is:
AuthType Basic
AuthName "By Invitation Only"
AuthUserFile /usr/local/apache/passwd/password
require user username

I've also created a password file with htpasswd.

Now when I go to this page it does give me the login/pass prompt. But when I enter the correct user/pass it just gives me a Error 500 Internal Server Error. Upon inspection of the logs I get this error:
The socket is not connected: MySQL auth: connect failed: Can't connect to MySQL server on localhost.

I know the user/pass is right and has been encrypted properly. Any ideas why I'm getting this error? Also the mod_auth_mysql is not loaded in httpd.conf.
 

Users who are viewing this thread

Similar threads

W
Replies
2
Views
520
W
M
Replies
7
Views
778
Mr. 47
M
E
Replies
2
Views
556
old.LeitMotif
O
M
Replies
4
Views
609
Mr. 47
M
M
Replies
7
Views
601
Mr. 47
M
Top Bottom