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
I tried putting almost all the AllowOverrieds I could find in the httpd.conf to All and restared apache but still I get the "...not a valid FDN" error. I even tried putting <directory /home/*/public_html/> AllowOverride All </directory> into the httpd.conf but it didin't help. Then I tried to find the module in the rc.config but it seems that there is not a HTTPD_SEC_MOD_AUTH but several ones like HTTPD_SEC_MOD_AUTH_COOKIES, HTTPD_SEC_MOD_AUTH_SYSTEM and so on... This is so frustrating... - tk ----- Original Message ----- From: zentara <zentara@gypsyfarm.com> Cc: <suse-linux-e@suse.com> Sent: Tuesday, February 05, 2002 10:33 AM Subject: Re: [SLE] .htaccess and apache 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);}}
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq and the archives at http://lists.suse.com