2006-08-01

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

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

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

#KeepAliveTimeout:在同一个客户连接中,等待下一个请求的等待时间。

KeepAliveTimeout 15

##

## Server-Pool Size Regulation (MPM specific)

## 常规Server-Pool服务器池的大小(每分钟M数)

# WinNT MPM WinNT 的MPM

# ThreadsPerChild: constant number of worker threads in the server process

ThreadPerChild:服务器进程中工作的线程数量

# MaxRequestsPerChild: maximum number of requests a server process serves

每个服务进程的最大请求数

<IfModule mpm_winnt.c>

ThreadsPerChild 250

MaxRequestsPerChild 0

</IfModule>

#

# Listen: Allows you to bind Apache to specific IP addresses and/or

# ports, instead of the default. See also the <VirtualHost>

# directive.

#Listen:答应你将Apache绑定到指定的IP地址或端口,而不是默认端口,请同时参考<VirtualHost>指令

# Change this to Listen on specific IP addresses as shown below to

# prevent Apache from glomming onto all bound IP addresses (0.0.0.0)

#像下面那样指定侦听的IP地址,防止Apache抢占所有绑定的IP地址

#Listen 12.34.56.78:80

Listen 80

#

# Dynamic Shared Object (DSO) Support

#动态共享对象支持DSO

# To be able to use the functionality of a module which was built as a DSO you

# have to place corresponding `LoadModule' lines at this location so the

# directives contained in it are actually available _before_ they are used.

# Statically compiled modules (those listed by `httpd -l') do not need

# to be loaded here.

#为了能够使用模块功能,模块通常以DSO的方式构建,你应该在下面使用LoadModule行,使得能够在使用前获得指令的功能。静态编译模块(在httpd-1中所列举的)不需要在此装载

# Example:

# LoadModule foo_module modules/mod_foo.so

#

LoadModule access_module modules/mod_access.so

LoadModule actions_module modules/mod_actions.so

LoadModule alias_module modules/mod_alias.so

LoadModule asis_module modules/mod_asis.so

LoadModule auth_module modules/mod_auth.so

#LoadModule auth_anon_module modules/mod_auth_anon.so

#LoadModule auth_dbm_module modules/mod_auth_dbm.so

#LoadModule auth_digest_module modules/mod_auth_digest.so

LoadModule autoindex_module modules/mod_autoindex.so

#LoadModule cern_meta_module modules/mod_cern_meta.so

LoadModule cgi_module modules/mod_cgi.so

#LoadModule dav_module modules/mod_dav.so

#LoadModule dav_fs_module modules/mod_dav_fs.so

LoadModule dir_module modules/mod_dir.so

LoadModule env_module modules/mod_env.so

#LoadModule expires_module modules/mod_expires.so

#LoadModule file_cache_module modules/mod_file_cache.so
共4页: 上一页 [1] [2] 3 [4] 下一页

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

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