Invalid command 'RewriteEngine'解决办法

今天搭起php环境运行以前项目忽然在error.log中出现如下错误:

Invalid command 'RewriteEngine', perhaps mis-spelled or defined by a module not included in the server configuration

 

在网上找了下,解决办法:

打开httpd.conf ,取消 LoadModule rewrite_module modules/mod_rewrite.so前的注释

posted on 2011-09-19 17:33  魔GUI  阅读(638)  评论(0编辑  收藏  举报

导航