上接[2]
所有这些指令将出现在<virtualhost>容器中,这些设定值将在定义virtual host时被覆写。
#
#
# serveradmin: your address, where problems with the server should be
# e-mailed. this address appears on some server-generated pages, such
# as error documents. e.g. admin@your-domain.com
# serveradmin:你的地址,当系统故障时,可以给你发email。此地址出现在那些由服务器生成的页面上,如出错文档。例如:admin@your-domain.com
serveradmin webmaster@moers.com
#
# servername gives the name and port that the server uses to identify itself.
# this can often be determined automatically, but we recommend you specify
# it explicitly to prevent problems during startup.
#servernaem定义了server名称和端口号,用以标明自己的身份。通常可以自动定义,建议显式地定义,避免起动时出错
# if this is not set to valid dns name for your host, server-generated
# redirections will not work. see also the usecanonicalname directive.
#如果没有正确定义主机的dns,服务器产生的重定向将不会工作,同时参考usecanonicalname指令。
# if your host doesn't have a registered dns name, enter its ip address here.
# you will have to access it by its address anyway, and this will make
# redirections work in a sensible way.