Jquery中文网 www.jquerycn.cn
Jquery中文网 >  脚本编程  >  php  >  正文 php:Invalid command RewriteEngine的解决办法

php:Invalid command RewriteEngine的解决办法

发布时间:2015-05-10   编辑:www.jquerycn.cn
使用 CodeIgniter 时出现了HTTP 500错误,查看日志发现以下错误: <br /> CodeIgniter_2.0.2/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration

使用 CodeIgniter 时出现了HTTP 500错误,查看日志发现以下错误:
CodeIgniter_2.0.2/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration
 
解决办法:
RewriteEngine命令需要rewrite mod的支持。
打开apache的配置文件httpd.conf ,取消 LoadModule rewrite_module modules/mod_rewrite.so前的注释即可

您可能感兴趣的文章:
php:Invalid command RewriteEngine的解决办法
zf中Invalid command 'RewriteEngine'错误的解决办法
php 301重定向跳转解决方法
Could not load type System.ServiceModel.Activation.HttpModule解决办法
ubuntu隐藏index.php的方法
解决jquery中post方法返回404错误的问题
html5 command标签的用法和<command>标签的使用案例详解
电脑显示桌面快捷方式不小心删除怎么办
测试在apache上开启gzip
PHP禁止图片盗链

[关闭]