Basic authentication using .htaccess file problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello all,

I have a problem, and I hope someone here can point me the right way.
Two different machines, running httpd and httpd.conf, both Fedora Core 4.

I have some directories I want passworded on those machines. I
developed .htaccess files to do this. It looks like this:

AuthType Basic
AuthName "The Directory Of Stuff"
AuthUserFile /directory/directory/directory/passwordfile
require valid-user

"Passwordfile" is the actual name of the file with the passwords in it, created by htpasswd. Now, on one machine, this works fine. On the other, it won't let me log in. The "enter login and password" box comes up, but it's like the users don't exist.

A look in the Apache logs shows this:

[Mon Feb 20 15:58:13 2006] [error] [client 202.11.22.33] MySQL ERROR: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) [Mon Feb 20 15:58:13 2006] [error] [client 202.11.22.33] MySQL user marymary not found: /directory/directory/directory [Mon Feb 20 15:58:16 2006] [error] [client 202.11.22.23] MySQL ERROR: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) [Mon Feb 20 15:58:16 2006] [error] [client 202.11.22.23] MySQL user marymary not found: /directory/directory/directory

"Marymary" and the IP are fictitous, I replaced the real IPs and usernames with that. I created both user names and passwords on each machine (IE, I didn't copy any files over). Any idea what could be wrong? I am fully patched doing "yum update". And it works on one machine, but not the other. Very odd.

*******************************************************************************
Gilbert Sebenste                                                     ********
(My opinions only!)                                                  ******
Staff Meteorologist, Northern Illinois University                      ****
*******************************************************************************


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux