为了账号安全,请及时绑定邮箱和手机立即绑定

添加多站点之后出现The requested URL / was not found on this server.

添加多站点之后出现The requested URL / was not found on this server.没有添加多站点之前localhost能进去,加了之后就进不去了。

正在回答

19 回答

配置多站点之前,我们是单站点,在配置之后,我们的多站点的配置覆盖了之前的单站点的配置,因此把之前那个也当做多站点的一部分配置一下,自然能正常访问了

0 回复 有任何疑惑可以回复我~
#1

诹生生

你这是什么异地能具体解释一下吗?
2015-10-14 回复 有任何疑惑可以回复我~
#2

诹生生 回复 诹生生

你这是什么意思,能具体解释一下怎么改吗?
2015-10-14 回复 有任何疑惑可以回复我~

修改什么才能让localhost也能正确地访问?

0 回复 有任何疑惑可以回复我~

改了,刚换了个版本,很多地方都不用修改

0 回复 有任何疑惑可以回复我~

windows host  有改吗

0 回复 有任何疑惑可以回复我~
#1

借你的大脑用一下 提问者

改了,刚换了个版本,很多地方都不用修改
2015-01-06 回复 有任何疑惑可以回复我~

大神厉害,问题解决了

0 回复 有任何疑惑可以回复我~

test01.com test02.com打开之后是外国网站

0 回复 有任何疑惑可以回复我~

哪地方不对谁能给改下

0 回复 有任何疑惑可以回复我~

DocumentRoot "F:/Demo"


#

# Each directory to which Apache has access can be configured with respect

# to which services and features are allowed and/or disabled in that

# directory (and its subdirectories). 

#

# First, we configure the "default" to be a very restrictive set of 

# features.  

#

<Directory />

    Options FollowSymLinks

    AllowOverride None

    Order deny,allow

    Allow from all

</Directory>


#

# Note that from this point forward you must specifically allow

# particular features to be enabled - so if something's not working as

# you might expect, make sure that you have specifically enabled it

# below.

#


#

# This should be changed to whatever you set DocumentRoot to.

#

<Directory "F:/Demo">

    #

    # Possible values for the Options directive are "None", "All",

    # or any combination of:

    #   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews

    #

    # Note that "MultiViews" must be named *explicitly* --- "Options All"

    # doesn't give it to you.

    #

    # The Options directive is both complicated and important.  Please see

    # http://httpd.apache.org/docs/2.2/mod/core.html#options

    # for more information.

    #

    Options Indexes FollowSymLinks


    #

    # AllowOverride controls what directives may be placed in .htaccess files.

    # It can be "All", "None", or any combination of the keywords:

    #   Options FileInfo AuthConfig Limit

    #

    AllowOverride all


    #

    # Controls who can get stuff from this server.

    #


#   onlineoffline tag - don't remove

    Order Deny,Allow

    Allow from all

    # Allow from 127.0.0.1


</Directory>


0 回复 有任何疑惑可以回复我~
首页上一页12下一页尾页

举报

0/150
提交
取消

添加多站点之后出现The requested URL / was not found on this server.

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信