APACHE服务器500错误解决方法

1.APACHE没开启rewrite模块。
解决办法:编辑apache的http.conf文件,找到#LoadModule rewrite_module modules/mod_rewrite.so,去掉前面的#,重启APACHE.
 
2 .htaccess文件有错误。通常是因为写入了不合语法的规则。
解决办法:删除该目录中的.htaccess即可。如果还是不行,再删除上级目录的.htacess,如此反复。
 
3,权限问题,同时查看/var/log/apache2/error.log日志。
posted @ 2016-01-23 21:53  侠岚之弋痕夕  阅读(597)  评论(0编辑  收藏  举报
Where is the starting point, we don't have a choice, but the destination where we can pursue!