On Wed, 6 Feb 2002 18:19:22 -0800 "Tom Kostiainen" <tom.kostiainen@pp.inet.fi> wrote:
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...
Is your servername setup right in httpd.conf? If in doubt, use a number, like '192.168.0.1" Make sure your http servername is listed in /etc/hosts if you don't have a nameserver. If you use a number it should work like http://192.168.0.1/~zentara/cgi-bin/printenv Do you have a .htaccess file in public_html ? Did you add your allowed users to /etc/httpd/htpasswd with the htpasswd command? Each directory to be protected must have a .htaccess in it. It should look like this ###################################### AuthUserFile /etc/httpd/passwd AuthGroupFile /dev/null AuthType Basic AuthName Restricted <Limit GET POST> require user zentara require user test </Limit> ######################################## and you should have an /etc/httpd/passwd file looking like this ########################################## zentara $emMk/_09%........ ###################################### You can get md5 encryption by using the -m switch like this: htpasswd -m /etc/httpd/passwd zentara password Then finally don't forget you need to restart apache. rcapache restart -- $|=1;while(1){print pack("h*",'75861647f302d4560275f6272797f3');sleep(1); for(1..16){for(8,32,8,7){print chr($_);}select(undef,undef,undef,.05);}}