Home >Backend Development >PHP Tutorial >php: Solution to Invalid command RewriteEngine

php: Solution to Invalid command RewriteEngine

WBOY
WBOYOriginal
2016-07-25 09:05:371561browse
An HTTP 500 error occurred when using CodeIgniter. Checking the log found the following error: CodeIgniter_2.0.2/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration

An HTTP 500 error occurred when using CodeIgniter. Checking the log found the following error: CodeIgniter_2.0.2/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration Solution: The RewriteEngine command requires the support of rewrite mod. Open apache's configuration file httpd.conf and cancel the comment before LoadModule rewrite_module modules/mod_rewrite.so.

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