2.5版的Wampserver的httpd.conf与视频里的不一样

来源:2-4 WAMPServer多站点配置

我是小白我怕谁

2014-12-18 23:12

DocumentRoot "M:/WAMPServer 64bit/Website"

#

# 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 />

    AllowOverride none

    Require all denied

</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.

#

<Directory "M:/WAMPServer 64bit/Website">

    #

    # 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.4/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:

    #   AllowOverride FileInfo AuthConfig Limit

    #

    AllowOverride all

    #

    # Controls who can get stuff from this server.

    #

#   onlineoffline tag - don't remove

    Require local

</Directory>

RT:2.5版的Wampserver的httpd.conf与视频里的不一样,所以怎么设置多站点呢??求解答

写回答 关注

2回答

  • q00
    2016-01-07 14:37:47

    同上。我的也不一样

  • 挑战收入点
    2015-01-03 14:05:20

        Require all local

PHP入门篇

PHP入门教程轻松学习,行业大牛帮您快速掌握PHP编程基础知识。

455995 学习 · 6306 问题

查看课程

相似问题