Apache主配置文件翻译(一)
让英语成为一种习惯,让翻译成为一种爱好,日积月累,必有所得。
Apache 主配置文件译文
位置: /etc/httpd/conf/httpd.conf
#
# This is the main Apache server configuration file. It contains the
这是Apache服务器的主配置文件。
# configuration directives that give the server its instructions.
他包含了Apache服务器的配置指令
# See <URL:http://httpd.apache.org/docs/2.2/> for detailed information.
查看连接可以获得更为详细的内容
# In particular, see
# <URL:http://httpd.apache.org/docs/2.2/mod/directives.html>
# for a discussion of each configuration directive.
注意,通过查看该连接可获得每个指令的详情
#
#
# Do NOT simply read the instructions in here without understanding
# what they do. They‘re here only as hints or reminders. If you are unsure
# consult the online docs. You have been warned.
#不要只是简单的看这的指令而不去深刻理解他们到底是干嘛的。在这个位置的这些
指令只是提醒和举例。如果你不确定,应该去看在线文档。事先声明,我已经警告过你了
# The configuration directives are grouped into three basic sections:
Apache的配置指令分为三个基本部分
# 1. Directives that control the operation of the Apache server process as a
# whole (the ‘global environment‘).
指令可控制整个Apache服务进程
# 2. Directives that define the parameters of the ‘main‘ or ‘default‘ server,
# which responds to requests that aren‘t handled by a virtual host.
指定定义服务的“主配置”或“默认配置”参数。及哪些请求不是由虚拟主机来响应.
# These directives also provide default values for the settings
# of all virtual hosts.
这些指令也提供所有虚拟主机的默认配置参数
# 3. Settings for virtual hosts, which allow Web requests to be sent to
# different IP addresses or hostnames and have them handled by the
# same Apache server process.
当为Apache设置了VPS,允许客户端基于不同的IP地址或主机名来发送请求,同时对这些
请求的处理都是同一个Apache服务器进程。
#
# Configuration and logfile names: If the filenames you specify for many
# of the server‘s control files begin with "/" (or "drive:/" for Win32), the
# server will use that explicit path. If the filenames do *not* begin
# with "/", the value of ServerRoot is prepended -- so "logs/foo.log"
# with ServerRoot set to "/etc/httpd" will be interpreted by the
# server as "/etc/httpd/logs/foo.log".
#
配置和日志文件名:如你为服务控制文件指定文件名以绝对路径开始,则服务将使用
显示路径。如果文件名不是以根路径开始,则会使用服务所在的根目录为作为前缀。
所以日志路径logs/foo.log与根路径的设置“/etc/httpd”将会解释为/etc/httpd/logs/foo.log
END !
本文出自 “百折不回” 博客,请务必保留此出处http://changbo.blog.51cto.com/1316452/1625015
郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。