今天看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前的注释
本文解决在使用Zend Framework教程时遇到的Apache服务器内部错误,并提供了通过编辑httpd.conf文件来取消注释并启用重写模块的详细步骤。
1438

被折叠的 条评论
为什么被折叠?



