Apache HTTP最新官方配置(中译版[2])[1]

[入库:2005年8月18日] [更新:2007年3月25日]

本文简介:选择自 bigball 的 blog

#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.

# we recommend you leave this number high, for maximum performance.

#maxkeepaliverequests:在持久连接期间,所允许的最大请求数量。设为0表示不作限制

建议设为较高的数,以提高性能

maxkeepaliverequests 100

 

#

# keepalivetimeout: number of seconds to wait for the next request from the

# same client on the same connection.

本文关键:Apache HTTP最新官方配置(中译版[2])
  相关方案
Google
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top