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

Re: apache .htpasswd problems




How about the /etc/apache/access.conf?

Check the Options and AllowOverride sections. I think the AllowOverride is set to "None" by default.

I had to change and restart apache.

At 05:11 PM 9/23/01 +0200, you wrote:
hi dudes,
trying to get apache to authorize users through .htaccess. this isn't
my first time, but it's not working and i am clueless.

i can either configure the following settings via .htaccess (having
set AllowOverride AuthConfig for Directory /, or i can put the lines
into the Directory / container:

  AuthType Basic
  AuthName "admin.home.madduck.net"
  AuthUserFile .htpasswd
  AuthGroupFile /dev/null
  Require valid-user

no matter where i place .htpasswd, or how i name it, whether i give
its location relatively to ServerRoot or absolute anywhere on the
machine, apache complains in its error.log that

[error] user madduck not found: /

and a `stat` call on .htpasswd shows that it isn't even accessed.
.htaccess is accessed (atime update), but i can't get it to consider
the .htpasswd file.

any clues?




Reply to: