猿问

无法在apache中设置DocumentRoot保存路径变更的问题,版本2.4.23,还需要设置其他的吗?

#

# DocumentRoot: The directory out of which you will serve your

# documents. By default, all requests are taken from this directory, but

# symbolic links and aliases may be used to point to other locations.

#

DocumentRoot "f:/Demo"

<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.4/mod/core.html#options

    # for more information.

    #

    Options +Indexes +FollowSymLinks +Multiviews


    #

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


跑跑小二
浏览 2611回答 1
1回答

qq_Android开发_04043632

我的也没成功  你现在修改好了吗
随时随地看视频慕课网APP
我要回答