首頁  >  文章  >  後端開發  >  zf中Invalid command 'RewriteEngine'錯誤的解決辦法

zf中Invalid command 'RewriteEngine'錯誤的解決辦法

WBOY
WBOY原創
2016-07-25 09:04:271402瀏覽
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,取消其前面的注释即可。



陳述:
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn