码迷,mamicode.com
首页 > 其他好文 > 详细

本地wampserver的Internal Server Error错误解决方法

时间:2014-12-08 15:19:32      阅读:422      评论:0      收藏:0      [点我收藏+]

标签:style   blog   http   io   color   os   sp   for   strong   

问题出现原因:
       今天心血来潮,想换一个win8.1系统,我这个人做什么比较着急,备份完东西就做成了win8.1,所有的网站开发软件都安装好了,现在开始恢复我做的项目,因为还没有完成,当我恢复好时候,一打开出现了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, admin@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.


bubuko.com,布布扣

问题解决办法:
一、本地wamp下调试url重写,加入htaccess文件后提示:500 Internal Server Error…,而删除这个文件网站又可以正常访问,其实就是没有开启url重写的功能。开启一下就可以。
WAMP下htaccess出错的解决方法:
1. 打开wamp安装目录,搜一下 httpd.conf 这个文件,找到后打开;我把wamp安装在D盘根目录,所以我的目录是:D:\wamp\bin\apache\Apache2.2.21\conf2. 搜一下

LoadModule rewrite_module modules/mod_rewrite.so


,找到这一行,去掉前面的“#”;
3. 重启wamp。

二、本地wamp开启了url重写功能或者网站没有htaccess文件后,仍然出现500 Internal ServerError…,检查网站config配置文件的路径和参数是否正确。



本地wampserver的Internal Server Error错误解决方法

标签:style   blog   http   io   color   os   sp   for   strong   

原文地址:http://www.cnblogs.com/lizuofeng/p/4150997.html

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