Re: Apache: unable to use authentification
On Wed, 18 Aug 1999, Ernest Johanson wrote:
> Try checking the file permissions on your password file. It needs to be
> readable by the user the web server runs as.
It was me that has the problem :)
But the permissions are all right.
The problem with this problem is that Apache does not tell you if it's a
'file not found' error or a 'user not found' error.
> > > You need to specify the "AllowOverride AuthConfig" directive for that
> > > directory in one of the main config files (e.g., /etc/apache/access.conf).
> > I have AllowOverride All for this directory. I hoped that All would be
> > enough :)
> > Anyway, without AllowOverride set to either All or AuthConfig, I do get a
> > request for username&password, but this alwais fails. I tried using a
> > plain password file, a dbm file and using PAM. All fail.
> > > I'm trying to get Apache (tried the Slink version and the current Potato
> > > version) to use authentification for some directory.
> > > Inside the directory have the following .htaccess:
> > >
> > > When I try to authentificate myself, I get in error.log:
> > >
> > > [Tue Aug 17 16:13:20 1999] [error] (13)Permission denied: access to
> > > /rinet/ failed for 10.2.100.11, reason: Authentication failure