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前的注释