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

WBOY
リリース: 2016-07-25 09:04:27
オリジナル
1317 人が閲覧しました
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 までご連絡ください。
人気のチュートリアル
詳細>
最新のダウンロード
詳細>
ウェブエフェクト
公式サイト
サイト素材
フロントエンドテンプレート
私たちについて 免責事項 Sitemap
PHP中国語ウェブサイト:福祉オンライン PHP トレーニング,PHP 学習者の迅速な成長を支援します!