首页 > 关于xampp配置文件问题

关于xampp配置文件问题

按照网上的说明不是

DocumentRoot "/Users/zhangzhimin/mypage"
<Directory "/Users/zhangzhimin/mypage">
    #
    # 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/trunk/mod/core.html#options
    # for more information.
    #
    #Options Indexes FollowSymLinks
    # XAMPP
    Options Indexes FollowSymLinks ExecCGI Includes

    #
    # 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 None
    # since XAMPP 1.4:
    AllowOverride All

    #
    # Controls who can get stuff from this server.
    #
    Require all granted
</Directory>

中的Options Indexes FollowSymLinks ExecCGI Includes一项设置了就可以不让别人看到我的文件目录吗?可是为什么我这边这样设置了没效果呢?如图所示,当我尝试访问时还是没效果


options不是有indexes吗?你不想就去掉呗

【热门文章】
【热门文章】