Error added: 2008-01-15T16:56:51Z
on Debian, I had to move authn_file.load, auth_basic.load, authz_user.load from /etc/apache2/mods-available to /etc/apache2/mods-enabled then restart the apache (apache2ctl restart)
on Debian, I had to move authn_file.load, auth_basic.load, authz_user.load from /etc/apache2/mods-available to /etc/apache2/mods-enabled then restart the apache (apache2ctl restart)
httpd.conf: LoadModule authn_file_module modules/mod_authn_file.so worked for me
I used authn_file flag in APACHE2_MODULES defined in /etc/make.conf. After etc-update my problem was solved.
the easier way to do this on debian is: a2enmod authn_file apache2ctl graceful
I fixed this by adding \"--enable-auth\" at compilation time.
Feb 7, 2009; using Gentoo, after merging apache-2.2.11, got this error. I tried manually downloading and installing, but that didn\'t fix it. I wasn\'t able to get it to recognize the --enable-auth option. The mod_authn_file.so wasn\'t present after either the merge or the make install. Fixed it by modifying the ebuild and taking authn_file out of the IUSE_MODULES list, adding it to MODULE_DEFINES, and running ebuild merge --skip-manifest. That produced the external module which I was then able to load in httpd.conf.
If you know the answer, please add your own solution below.
If you don't know, but find out later, please come back and share your answer - there will be other people
struggling with this too.
If you want to be notified via email when this is solved, enter your email address here: