[转载]Invalid command ‘RewriteEngine’ 解决办法

[转载]Invalid command 'RewriteEngine' 解决办法 - 宋科明 - ITeye技术网站.

今天看zend framework  tutorial时候,运行例子,apache 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前的注释