我是apache2.4.9 配置出来的test01.com是wampserver的homepage

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

taogege

2016-07-22 11:38


#

<Directory />

 

 

AllowOverride all

    Require all granted

</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 "D:/wamp/www/">

    #

    # 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


写回答 关注

1回答

  • 林青石
    2016-07-22 13:11:34

    <Directory "D:/wamp/www/"> 和DocumentRoot "E:/demo"没改吧 改成你设置的文件目录即可

PHP入门篇

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

455956 学习 · 6306 问题

查看课程

相似问题