码迷,mamicode.com
首页 > Web开发 > 详细

CI当开启URL重写的时候,报错500 Internal Server Error

时间:2015-02-06 18:30:17      阅读:185      评论:0      收藏:0      [点我收藏+]

标签:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at admin@example.com to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

解决方法:

apache服务器没有开启URL重写模块,将注释去掉

在apache配置上,注意httpd.conf文件里:

//开启rewrite

LoadModule rewrite_module modules/mod_rewrite.so

 

LINUX下的xampp中的apache配置文件目录地址:

/opt/lampp/etc/httpd.conf Apache 配制文件。

CI当开启URL重写的时候,报错500 Internal Server Error

标签:

原文地址:http://www.cnblogs.com/kenshinobiy/p/4277449.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!