Home  >  Article  >  Backend Development  >  Solution to Invalid command 'RewriteEngine' error in zf

Solution to Invalid command 'RewriteEngine' error in zf

WBOY
WBOYOriginal
2016-07-25 09:04:271400browse
Zend framework tutorial, running the example, reports the following error: 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, running the example, the following error is reported: 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.

View the apache error log file error.log, there are the following errors: Invalid command 'RewriteEngine', perhaps mis-spelled or defined by a module not included in the server configuration

Solution: Open httpd.conf, find LoadModule rewrite_module modules/mod_rewrite.so, and uncomment it.



Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn