wamp 隔天报404错误
装了wamp
后,第二天报错“404 not found,The requested URL / was not found on this server.”
折腾了很久,google
了一早上才发现适合自己的解决办法。
适合我的解决方案
如链接所示,点击绿色的apache
图标,选择apache
下的apache moudles
下拉至rewrite-moudle
选中,apache
会自动重启,问题解决。https://wordpress.org/support/topic/using-wamp-new-pages-get-404-requested-url-not-found-on-this-server/
没错虽然看起来很easy,但是对我这种小菜鸟来说真是小问题都让我煞费苦心。由于我对底层的东西不是十分了解,所以不多言,只把我搜索过程中看到的别的对于别人有用但对我自己不适用的方法也列出来,毕竟大家需要的可能不一样,希望可以帮到需要的人。
80端口占用的:
问题:Your port 80 is actually used by :Server: Microsoft-HTTPAPI/2.0
(http://www.imooc.com/course/qadetail/qid/77317?page=1)
解决方案 :计算机->右键管理->服务和应用程序->服务->SQL Server Reporting Services
->右键停止
在“开始”-“运行”中输入“services.msc”
,回车,进入服务界面,找到wampserver
,改成自动。(有效性没有验证的http://bbs.csdn.net/topics/390974483)
配置过本地虚拟服务器的
(http://www.wanysys.cc/coding/php/800.html)
提示把Apache
的配置文件httpd.conf
中的Include conf/extra/httpd-vhosts.conf
改为#Include conf/extra/httpd-vhosts.conf
,
因为端口占用等原因修改了默认的80端口的:
(http://www.imooc.com/course/qadetail/qid/77317?page=1)
在通过修改80端口将软件变绿后 直接输入localhost
是不能看到网页验证的 需要在后面加上冒号和修改后端口的名称才能看到 比如将80改为88 应该输入http://localhost:88/
才能成功
可能需要的:
404解决方案:
http://www.cnblogs.com/wenhainan/p/5381777.html
https://jingyan.baidu.com/album/8ebacdf02d2b2949f65cd53b.html
https://jingyan.baidu.com/album/5553fa820fd8e165a239343e.html
tips:如何查看端口占用
http://www.cnblogs.com/allenblogs/archive/2010/06/25/1765055.html