2006-08-01

Apache HTTP最新官方配置(中译版)

来源: 本站收集整理 作者:BigBall 评论 0 条
 

# If a drive letter is omitted, the drive on which Apache.exe is located

# will be used by default. It is recommended that you always supply

# an explicit drive letter in absolute paths, however, to avoid

# confusion.

#假如省略了盘符,则以Apache.exe所在的盘符为默认值

建议在绝对路径中永远使用显式的盘符,这样有助于消除误解

### Section 1: Global Environment

#第一部分全局环境

#

# The directives in this section affect the overall operation of Apache,

# such as the number of concurrent requests it can handle or where it

# can find its configuration files.

#本部分的指令将影响整个Apache服务器,例如它所能处理的并发请求数或者它在哪里能够找到其配置文件

#

# ServerRoot: The top of the directory tree under which the server's

# configuration, error, and log files are kept.

# ServerRoot: 服务器的配置,错误和日志文件的根目录

# NOTE! If you intend to place this on an NFS (or otherwise network)

# mounted filesystem then please read the LockFile documentation (available

# at <URL:http://httpd.apache.org/docs-2.0/mod/mpm_common.html#lockfile>);

# you will save yourself a lot of trouble.

#注重:假如将其保存到NFS上或者网络上mounted的文件系统上,然后应该阅读LockFile文档,http://httpd.apache.org/docs-2.0/mod/mpm_common.html#lockfile,将能解决你的很多麻烦.

# Do NOT add a slash at the end of the directory path.

#不要在目录的末尾加上斜杠

ServerRoot "C:/Program Files/Apache Group/Apache2"

ServerRoot:根目录

#

# ScoreBoardFile: File used to store internal server process information.

# If unspecified (the default), the scoreboard will be stored in an

# anonymous shared memory segment, and will be unavailable to third-party

# applications.

ScoreBoardFile: 保存服务器内部的处理信息

假如未定议(默认状态),scoreboard将被保存在匿名的共享内存段中,并且对于第三方来讲,是不可获得的

# If specified, ensure that no two invocations of Apache share the same

# scoreboard file. The scoreboard file MUST BE STORED ON A LOCAL DISK.

#假如已定义,应确保Apache的两个调用不能共享同一个scoreboard. Scoreboard文件必须存放在可分配的磁盘上

#ScoreBoardFile logs/apache_runtime_status

#

# PidFile: The file in which the server should record its process

# identification number when it starts.

#PidFile:当服务器起努时,服务器需要将其进程ID号存放在此文件中

PidFile logs/httpd.pid

#

# Timeout: The number of seconds before receives and sends time out.

#Timeout:接收和发送数据的超时设置,秒数

Timeout 300

#

# KeepAlive: Whether or not to allow persistent connections (more than

# one request per connection). Set to "Off" to deactivate.

#KeepAlive: 是否支持持久联接(而不是每个请求建一个连接),设off关闭此功能

KeepAlive On

#

# MaxKeepAliveRequests: The maximum number of requests to allow

# during a persistent connection. Set to 0 to allow an unlimited amount.
共4页: 上一页 [1] 2 [3] [4] 下一页

(本文仅表明作者个人观点,不代表本站及其管理员立场.) 推荐 收藏 投稿 打印 返回 关闭
上一篇:Flash8制作弹性跟随鼠标的弹性圆  
下一篇:经典强大的服务器软件Apache
    评论加载中…
 推荐文章
     

网站首页  -  网站地图 -   站长论坛  -  网站投稿  -    -  网站管理
Copyright © 2008 芜湖站长站 All Rights Reserved 皖ICP备07500611号