I spent several hours on finding how to enable mod_rewrite on my gentoo linux machine.
At the begining, I tried to change “<directory />" directive within /etc/apache2/httpd.conf, but it doesn’t work. Finally, I saw “<directory “/var/www/localhost/htdocs">", it controls the permission of my document root. After changing its directive, YH! it’s works. Now, I can access my blog through date, month, or year.