CI当开启URL重写的时候,报错500 Internal Server Error
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 配制文件。
如何联系我:【我的公司】www.xinzhenkj.com(信真科技)【技术咨询】www.laohuzx.com 【QQ】3396726884
图书购买京东链接***微信小程序商城开发实战*** | ***新媒体营销精华:精准定位+爆款打造+匠心运营+内容变现***