现在的位置: 首页 > 综合 > 正文

WAMP Server Localhost Shows 500 Internal Server Error

2017年10月05日 ⁄ 综合 ⁄ 共 746字 ⁄ 字号 评论关闭

1. 出错场景,装好wamp后,也能看到localhost是正确的,结果放一个项目到www目录下,访问时报如下错误:

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.


2. 网上搜到的解决方案:http://onetarek.com/server/solution-wamp-server-localhost-shows-500-internal-server-error/

修改D:\wamp\bin\apache\Apache2.2.11\conf\httpd.conf , 把里面的这一行#LoadModule rewrite_module modules/mod_rewrite.so,前面的#号去掉,重启服务器就可以了。


3. 一开始的时候很郁闷,基本上已经失去了解决问题的耐心。我发现当我这样处于一个消极状态时,已经不能做任何事。其实应该摆正遇到问题的心态,遇到问题是好事,因为你再解决问题的过程中已经进步很多了,提高了解决问题的能力。遇不到问题时,当你下次因为同样的步骤却遇到问题时就悲剧了,因为你已经失去了解决问题的能力。

抱歉!评论已关闭.