开始了解一些常见的就可以了撒
很好理解的
ServerRoot "C:/Program Files/Apache Group/Apache2" 这个表示你的apache安装路径
Timeout 300 表示请求超时的时间
Listen 8181 表示监听端口
看英文意思就能明白的
很好理解的
ServerRoot "C:/Program Files/Apache Group/Apache2" 这个表示你的apache安装路径
Timeout 300 表示请求超时的时间
Listen 8181 表示监听端口
看英文意思就能明白的
2、LoadModule加载的模块
3、ServerRoot等等。
是html版
以这个为例,这是摘自httpd.conf,其实注释里解释很详细了。C:/Program Files/Apache Software Foundation/Apache2.2/htdocs表示的是默认目录配置。如果想让当前目录使用默认设置直接拷贝就可以<Directory />
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</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.
##
# This should be changed to whatever you set DocumentRoot to.
#
<Directory "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs">
#
# 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.2/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:
# Options FileInfo AuthConfig Limit
#
AllowOverride None #
# Controls who can get stuff from this server.
#
Order allow,deny
Allow from all</Directory>