
On Tue, 5 Feb 2002 20:12:31 -0800 "Tom Kostiainen" <tom.kostiainen@pp.inet.fi> wrote:
I'm having problems getting .htaccess to work with Apache. Then I found the text below in a online FAQ. My question now is, what are those 3rd party authentication modules mentioned below. I would need to know what modules to comment.
"On a SuSE Linux system, I try and configure access control using basic authentication. Although I follow the example exactly, authentication fails, and an error message "admin: not a valid FDN: ...." is logged".
In the SuSE distribution, additional 3rd party authentication modules have been added and activated by default. These modules interfere with the Apache standard modules and cause Basic authentication to fail. Our recommendation is to comment all those modules in /etc/httpd/suse_addmodule.conf and /etc/httpd/suse_loadmodule.conf which are not actually required for running your server.
I think it's HTTPD_SEC_MOD_AUTH , and you can enable/disable them in rc.config. If you want to enable .htaccess in a more direct manner, just edit your /etc/httpd/httpd.conf and add "AllowOverride All" to each of the directories you want to allow .httaccess in. Suse puts an AllowOverride None in the apache root to start out with, and every directory you want to use .htaccess in, needs to have AllowOverride explicity named. Allowed values are All , Options, AuthConfig, and Limit So just add a line in httpd.conf, in each directory you want to enable: AllowOverride All Read the docs to see what the various options do, but All will get you going. -- $|=1;while(1){print pack("h*",'75861647f302d4560275f6272797f3');sleep(1); for(1..16){for(8,32,8,7){print chr($_);}select(undef,undef,undef,.05);}}