[users@httpd] Re: upgrade to 2.2.3 breaks .htaccess: "require directives present and no Authoritative handler"

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

 



I found the problem, and just to follow-up in case someone else is bit
by this --

The problem was that the 'mod_authz_user' module wasn't loaded.  On
Debian, I had to:

"ln -s ../mods-available/authz_user.load" from the mod-enabled
directory and restart apache, then things worked fine.  Why the Debian
package installs apache without enabling this module I have no
fracking idea.  Ugh.

On 11/4/06, Count László de Almásy <calmasy@xxxxxxxxx> wrote:
Greetings,

The following .htaccess file has been working for years under apache
2.0.x to password protect a directory:

------------------------------------------
AuthType Basic
AuthName "Password Required"
AuthUserFile /www/faith.info/authfile
------------------------------------------

Where the 'authfile' contains one line generated by the htpasswd
program:

----------------------------------------
count:gjPCIjHj9gjWQ
----------------------------------------

I just upgraded to apache 2.2.3, and now it no longer works.  The
message I get in my error log is the following:

[Sat Nov 04 14:27:32 2006] [error] [client 172.18.3.15] access to /
failed, reason: require directives present and no Authoritative handler.

I've googled excessively for an answer, but have found none.  I've
tried adding "Require valid-user" to the .htpasswd, but that does not
help.

Any ideas?

--
Cheers, László



--
Cheers, László

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux