11.10.06
Apache 2.2.3 Update - no authz_user Mod eh?
I recently used apt-get upgrade on my Debian server, and that included a new version of apache2 (2.2.3) and suddenly the two uses of .htaccess+htpasswd files I have were broken! (Didn’t break anything but my personal stuff, so it wasn’t then end of the world, but I still wasn’t happy). The apache error.log gave me
... access to / failed, reason: require directives present and no Authoritative handler.
hmm… i thought. :)
Google’d with the error string (how did we solve problems before Google? can’t remember…) and found this post which really helped, but unlike their direct creation of a symlink (ln -s …) I used the a2enmod command to do the trick.
a2enmode authz_user
Then called /etc/init.d/apache2 force-reload (or alternatively apache2ctl restart). I always baby-sit a Debian update, and on the few occasions there’s a problem it’s never been too bad. I’m happy this one didn’t take too long thanks to someone else posting their experience in a forum - I like the ‘net.