关于wamp下http://localhost地址The requested URL / was not found on this server.问题解决过程分享
2017-05-14 13:58
796 查看
在稀里糊涂一番折腾后,http://localhost解析不出来了,进入后如下图;
着急啊,要抓紧时间赶作业呢~
1. 看了很多文章,分享,也没有解决问题。无非是在httpd.conf文件里面做dany 变为 allow的修改,无效。
2. 有的同志说把 httpd.conf 里面的
# Virtual hosts 下的 Include conf/extra/httpd-vhosts.conf 注释掉。地却这样做可以哦!
注释了就不能写作业了啊,我要虚拟地址啊。不行,不行。。。。
但是此时我的虚拟地址,可以打开,如下;
我就想可不可以把 localhost添加到 虚拟地址文件里面去,如下
<VirtualHost *:80>
DocumentRoot "E:/PWK"
ServerName localhost
<Directory "E:/PWK">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
果然就可以运行了!!!
这只是乱撞出来的方法,还恳请各路大神,大叔,大爷,大婶,老表给我讲讲原理,分析分析。感激不尽,赠膝盖一双。
着急啊,要抓紧时间赶作业呢~
1. 看了很多文章,分享,也没有解决问题。无非是在httpd.conf文件里面做dany 变为 allow的修改,无效。
2. 有的同志说把 httpd.conf 里面的
# Virtual hosts 下的 Include conf/extra/httpd-vhosts.conf 注释掉。地却这样做可以哦!
注释了就不能写作业了啊,我要虚拟地址啊。不行,不行。。。。
但是此时我的虚拟地址,可以打开,如下;
我就想可不可以把 localhost添加到 虚拟地址文件里面去,如下
<VirtualHost *:80>
DocumentRoot "E:/PWK"
ServerName localhost
<Directory "E:/PWK">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
果然就可以运行了!!!
这只是乱撞出来的方法,还恳请各路大神,大叔,大爷,大婶,老表给我讲讲原理,分析分析。感激不尽,赠膝盖一双。
相关文章推荐
- The requested URL /phpMyAdmin was not found on this server.问题解决方法
- The requested URL /OA_HTML/AppsLogin was not found on this server. 的一个解决办法
- 有关 phpmyadmin登陆中遇到The requested URL /phpmyadmin was not found on this server的解决方法
- phpmyadmin登陆中遇到The requested URL /phpmyadmin was not found on this server的解决方法
- Not Found The requested URL /phpMyAdmin/index.php was not found on this server.解决办法
- localhost访问 报错The requested URL /phpinfo.php was not found on this server
- 问题排查:The requested URL /test/index.jsp was not found on this server
- apache url重写 出现The requested URL was not found on this server的问题index.php路径加上index.php就正常的问题
- The requested URL *** was not found on this server
- The requested URL /get_data.xml was not found on this server.
- 浏览器显示The requested URL *** was not found on this server
- ubuntu 出现 Not Found The requested URL /phpmyadmin/ was not found on this server.
- The requested URL /server-status was not found on this server
- LAMP出现The requested URL *** was not found on this server
- The requested URL /nagios/cgi-bin/statusmap.cgi was not found on this server
- 404 Not Found The requested URL * was not found on this server
- wampserver 的Apache启动错误提示:The requested URL / was not found on this server
- ubuntu14.04 安装LAMP中访问info.php提示The requested URL /index.php was not found on this server.
- The requested URL /server-status was not found on this server
- The requested URL /phpmyadmin was not found on this server.