原文:The requested URL / was not found on this server——Apache配置虚拟域名后无法访问localhost

今天为了做项目,在Apache中配置了项目域名,成功访问。但是忽然发现要访问localhost突然出现The requested URL was notfound on this server. 出现这种情况在网上查了下是由于开启 httpd.conf文件中 Include conf extra httpd vhosts.conf 导致的,只要把它注释掉就可以了,我试了一下确实可以,但是我的虚拟 ...

2017-11-30 16:20 0 4446 推荐指数:

查看详情

apache开启虚拟主机localhost无法访问

今天在集成环境下配虚拟主机,没想到虚拟主机开启localhost竟然无法访问了,解决办法是这样的: 实例一,Apache 配置localhost虚拟主机步骤 1,用记事本打开apache目录下httpd文件(如:D:\wamp\bin\apache ...

Wed May 18 05:50:00 CST 2016 0 4072
本机无法访问虚拟配置域名

在win7下的虚拟机上安装centos并设置好域名,浏览器可以使用ip来访问网站,但不能通过域名访问网站? 答: 1.现在虚拟机中配置域名指向的网站目录 2.然后在本机的hosts文件中将虚拟机ip(192.168.xx.xx)指向域名。在虚拟机的hosts文件中配置无效。 ...

Wed Jul 31 01:52:00 CST 2019 0 569
Apache配置虚拟主机,不能访问localhost的问题

今天想试用一下php7,但是发现php7只支持Apache2.4版本,而我电脑上的Apache是2.2版本,为了想尝鲜,就必须去下载新的Apache2.4 php7和apache2.4安装整合以后,localhost可以正常访问,没问题。 然后我又配置了几个虚拟主机,这时候,虚拟主机可以正常 ...

Tue Mar 01 02:00:00 CST 2016 1 27426
The requested URL '/' was not found on this server

直播间遇到The requested URL '/' was not found on this server的问题今晚在遇到客户的直播间打不开的情况,我就索性去重启了下服务器,以为是服务器的问题,但是重启之后更大的麻烦来了,进入到宝塔面板无法重启数据库。宝塔面板内无法重启数据库怎么办?参照 ...

Wed Oct 30 19:08:00 CST 2019 0 1276
The requested URL *** was not found on this server

本文章来给大家介绍关于在使用linux中提示The requested URL *** was not found on this server错误解决办法,有需要了解的朋友可进入参考。 因为之前别人在服务器上装了nginx,我装了apache访问 ...

Thu Feb 18 07:30:00 CST 2016 0 5103
The requested URL / was not found on this server

The requested URL / was not found on this server.原因:未打开Apache的重写功能#LoadModule rewrite_module modules/mod_rewrite.so<Directory "E:/online/webs ...

Mon Apr 08 03:58:00 CST 2019 0 1024
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM