Home >Backend Development >PHP Tutorial >php: Solution to Invalid command RewriteEngine
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. |