报错信息
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.
翻译错误信息
内部服务器错误
服务器遇到内部错误或配置错误,无法完成您的请求。
请通过admin@example.com与服务器管理员联系,通知他们这个错误发生的时间,以及在这个错误发生之前您所执行的操作。
有关此错误的更多信息,可在服务器错误日志中找到。
也就是说遇到这个问题有可能是两个原有造成的,一个可能是服务器内部错误,另一个可能就是Apache配置问题。
一、解决配置问题
1、访问权限开到最大
1、打开apache的配置文件
2、在apache配置文件httpd.conf中搜索
AllowOverride None
然后改为AllowOverride All
2、打开重写模块
1、打开apache的配置文件
2、去掉LoadModule rewrite_module modules/mod_rewrite.so 的注释
3、重启apache