教程集 www.jiaochengji.com
教程集 >  脚本编程  >  php  >  正文 zf中Invalid command 'RewriteEngine'错误的解决办法

zf中Invalid command 'RewriteEngine'错误的解决办法

发布时间:2015-07-31   编辑:jiaochengji.com
zend framework tutorial,运行例子,报如下的错误:The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there was an error in a CGI script.

zend framework  tutorial,运行例子,报如下的错误:
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there was an error in a CGI script.

查看apache错误日志文件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,取消其前面的注释即可。

您可能感兴趣的文章:
zf中Invalid command 'RewriteEngine'错误的解决办法
php:Invalid command RewriteEngine的解决办法
电脑提示Invalid partition table 双硬盘开机提示
电脑开机提示“invalid partition table”怎么办?电脑无法开机怎么办?
php file_get_contents抓取https地址报错的解决办法
zf中.htaccess的写法/http.conf的写法
电脑开机提示invalid partition table的解决办法
Invalid byte 1 of 1-byte UTF-8 sequence解决办法
Jquery跨域获得Json时invalid label错误的解决办法
python tarfile解压失败怎么解决

关键词: zf框架   
[关闭]
~ ~