/sys/lib/httpd.conf
目次
- 1.0.0
/sys/lib/httpd.conf の内容と役割
- 2.0.0
httpd のオプションとの関係
/sys/lib/httpd.conf の内容と役割
/sys/lib/httpd.conf によって Pegasus の内部で設定されている基本パラメータを変更できます。Pegasus 2.0 では次のようになっています。
#
# Remove "#" to set your value if you want to change default vaue
# Note that second field is default value except "myname"
#
#
# files for Pegasus
#
# myname www # server name (default is your sysname)
# base /usr/web # base directory for Pegasus
# namespace /lib/namespace.httpd # name space configuration
# rewrite /sys/lib/httpd.rewrite # system rewrite file
#
# currently we have the following parameters that may be required tuning
#
# parsetimeout 15 # timeout to parse header (in unit of sec)
# alivetimeout 15 # keep alive timeout (in unit of sec)
# cgitimeout 5 # timeout for CGI (in unit of sec)
# posttimeout 900 # timeout to get POST data (in unit of sec)
# connectlimit 300 # limit of total open tcp connections
# maxpost 10 # post data size restriction (in unit of MB)
# maxconnect 20 # max connections by a single remote IP
# obstime 3 # observation time to detect burst access (in unit of sec)
# maxaccess 20 # allowed max access in obstime
# contmax 100 # max persistent continuation count for safty
パラメータを変更するには、行頭の "#" を外し、第2フィールドを変更してください。(プログラムによる内部設定は第2フィールドのようになっています。ただし "myname" の内部設定は $sysname です)
サーバモードの場合、このファイルの内容を反映させるためには、httpd を再起動してください。
httpd のオプションとの関係
次の順序でパラメータが決定されます。後の決定の方が優先されます。
- プログラムによる内部設定
/sys/lib/httpd.conf
httpd のオプション