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

Solution to Invalid command 'RewriteEngine' error in zf

WBOY
Release: 2016-07-25 09:04:27
Original
1457 people have browsed it
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.



source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template