首页 > 后端开发 > php教程 > zf中Invalid command 'RewriteEngine'错误的解决办法

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

WBOY
发布: 2016-07-25 09:04:27
原创
1419 人浏览过
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,取消其前面的注释即可。



来源:php.cn
本站声明
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn
热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板