apache目录浏览

时间:2020-12-10 05:19:50

DocumentRoot "/Library/WebServer/Documents"

<Directory "/Library/WebServer/Documents">

#

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

MultiviewsMatch Any

#
# 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 None #
# Controls who can get stuff from this server.
#
# Controls who can get stuff from this server.
#
Require all granted
Options Indexes FollowSymLinks
#Options FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all