# 注意从这里开始你一定要明确地允许哪些特别的特性能够被使用。
# 所以,如果Apache没有象你所期待的那样工作的话, 请检查你是否在下面明确的指定它可用。
#
# This should be changed to whatever you set DocumentRoot to.
# 这将改变你对DocumentRoot的设置
#
<Directory "E:/usr/Apache2.2/htdocs">
#
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
#Options:这个指令的值可以是“None”,“All”,或者下列选项的任意组合:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
# 注意,“MultiViews”必须被显式的指定,“Options All”不能为你提供这个特性。
#
# The Options directive is both complicated and important. Please see
# http://httpd.apache.org/docs/2.2/mod/core.html#options
# for more information.
#
# options 指令既复杂又重要,请参见 http://httpd.apache.org/docs/2.2/mod/core.html#options
# 获取更多信息。
#
Options Indexes FollowSymLinks
#
# 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 控制那些被放置在.htaccess文件中的指令。
# 它可以是“All”,“None”,或者下列指令的组合:
# Options FileInfo AuthConfig Limit
#
AllowOverride None
#
# Controls who can get stuff from this server.
#
# 控制哪些模块可以获得服务。
#
Order allow,deny
Allow from all
</Directory>
#
# DirectoryIndex: sets the file that Apache will serve if a directory
# is requested.
#
# DirectoryIndex: 当请求是一个目录时,Apache向用户提供服务的文件名。(即默认文档名。-译者注。)
#
<IfModule dir_module>
DirectoryIndex index.html
</IfModule>
#
# The following lines prevent .htaccess and .htpasswd files from being
# viewed by Web clients.
# #下面的设置是防止.htaccess和.htpasswd(访问设定和密码)文件被Web客户查看。
#
<FilesMatch "^.ht">
Order allow,deny
Deny from all
</FilesMatch>
#
# ErrorLog: The location of the error log file.
# If you do not specify an ErrorLog directive within a <VirtualHost>
# container, error messages relating to that virtual host will be
# logged here. If you *do* define an error logfile for a <VirtualHost>
# container, that host's errors will be logged there and not here.
#
# ErrorLog: 错误日志文件位置。
# 如果你没有在<VirtualHost>内定义ErrorLog指令,这个虚拟主机的错误信息









