Apache配置相关的文件共有3个:
/etc/httpd/conf/httpd.conf 主配置文件
作用:定义HTTP协议的设置值和针对该服务器的操作,还包括定义三个文件的目录
实例:
ServerType standalone
#定义WebServer的启动方式为standalone,以增强其对大量访问的及时响应性
ServerRoot "/etc/httpd"
#指定包含httpd服务器文件的目录
LockFile /var/lock/httpd.lock
PidFile /var/run/httpd.pid
ScoreBoardFile /var/run/httpd.scoreboard
Timeout 300
#响应超时量,单位为秒
KeepAlive On
#允许用户建立永久连接
MaxKeepAliveRequests 100
KeepAliveTimeout 15
MinSpareServers 5
#要保留的空闲服务器进程的最小值
MaxSpareServers 20
#要保留的空闲服务器进程的最大值
StartServers 8
#系统启动时的守护进程数
MaxClients 150

Nginx+PHP+MySQL双机
Ubuntu终端服务客户端
LAMP架构:配置Linux
Ubuntu 8.10 局域网网
Darkhttpd:Linux 下
用Ubuntu做WEB服务器
asterisk安装实录之Ce
让XManager也支持中文