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

php: Solution to Invalid command RewriteEngine

WBOY
Release: 2016-07-25 09:05:37
Original
1560 people have browsed it
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.

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