apache2.0.54 mod_rewrite on gentoo Linux

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.

發表迴響

在下方填入你的資料或按右方圖示以社群網站登入:

WordPress.com Logo

你正使用 WordPress.com 帳號留言。 登出 / 變更 )

Twitter picture

你正使用 Twitter 帳號留言。 登出 / 變更 )

Facebook照片

你正使用 Facebook 帳號留言。 登出 / 變更 )

Google+ photo

你正使用 Google+ 帳號留言。 登出 / 變更 )

連結到 %s

%d 位部落客按了讚: