PHP 500 -Invalid command RewriteEngine的解决
转自:http://blog.csdn.net/wang02011/article/details/8205903
环境: wampserver-2.1a
系统 : win8
错误 : 500 -Invalid command RewriteEngine
日志 : [Tue Nov 20 22:52:24 2012] [alert] [client 127.0.0.1] D:/wamp/www/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration
解决 : RewriteEngine命令需要rewrite mod的支持,
打开apache的配置文件httpd.conf ,取消 LoadModule rewrite_module modules/mod_rewrite.so前的注释
千里之行,始于足下。改变现在,就是改变未来。改变未来,从现在开始。