By default, the Fedora 12 (yum) version of httpd does not “AllowOverride”, which doesn’t allow for password protecting in .htaccess files. You can allow this by editing the /etc/httpd/conf/httpd.conf file and changing “AllowOverride None” to “AllowOverride All” in the <Directory “/var/www/html”> section. See
http://httpd.apache.org/docs/1.3/howto/htaccess.html#troubleshoot for more details.
No comments:
Post a Comment