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.
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.