The rules defined in .htaccess files are ignored.
.htaccess files support is not enabled.
To enable .htaccess files support, create *.conf file in
/etc/httpd/conf.d/ with the following content:
Allow from all
Then, restart Apache:
# service httpd restart
Please note that in Debian and Ubuntu the service is named "apache2" instead of "httpd" and the path is
/etc/apache2/conf.d/ , instead of