启用apache2.2 rewrite
By Symphony - Last updated: Friday, January 2, 2009 - Save & Share - Leave a Comment
系统移植后出现 Internal Server Error 错误
判断是新环境没有启用 rewrite module。
启用方法原文:
now use locate to find if the mod_rewrite.so is availble on your server
updatedb
locate mod_rewrite.so
it will found in “/usr/lib/apache2/modules”
new apache follow some folders to enable and desuable mods.
so now do this:
cd /etc/apache2/mods-enabled
touch rewrite.load
gedit rewrite.load (you may use any editor to edit this file)
now paste this following line
LoadModule rewrite_module /usr/lib/apache2/modules/mod_rewrite.so