Hitachi Web Server

[目次][用語][索引][前へ][次へ]

付録A.5  admin.confファイル(UNIX版)

#########################################################################
##
## admin.conf - Administration Server configuration file
##
##  All Rights Reserved. Copyright (C) 2001, 2007, Hitachi, Ltd.
#########################################################################
 
Listen 50012
StartServers 5
MinSpareServers 5
MaxSpareServers 5
MaxClients 10
MaxRequestsPerChild 10000
Timeout 300
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15
HostnameLookups Off
 
User nobody
Group nogroup
 
ServerRoot "/opt/hitachi/httpsd/admin"
 
HWSConfigFile "/opt/hitachi/httpsd/conf/httpsd.conf"
MaxBackupConfigs 100
LDAPAttribute cn
 
ServerName admin.example.com
DocumentRoot "/opt/hitachi/httpsd"
ServerSignature Off
ServerTokens ProductOnly
TraceEnable Off
 
LogLevel info
ErrorLog "|/opt/hitachi/httpsd/sbin/rotatelogs2 /opt/hitachi/httpsd/admin/logs/error 8192 5"
#ErrorLog logs/error_log
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent
CustomLog "|/opt/hitachi/httpsd/sbin/rotatelogs /opt/hitachi/httpsd/admin/logs/access 86400 -fnum 8 -diff 540" common
#CustomLog logs/access_log common
PidFile logs/httpd.pid
HWSTraceIdFile logs/hws.trcid
HWSTraceLogFile logs/hws.trclog
 
SSLDisable
#SSLEnable
#SSLCertificateFile "/opt/hitachi/httpsd/admin/conf/ssl/server/admin.pem"
#SSLCertificateKeyFile "/opt/hitachi/httpsd/admin/conf/ssl/server/adminkey.pem"
#SSLCertificateKeyPassword "/opt/hitachi/httpsd/admin/conf/ssl/server/.keypasswd"
#SSLProtocol SSLv3 TLSv1
 
AddType text/html .html .htm
AddType image/gif .gif
 
BrowserMatch "Mozilla/2" nokeepalive
BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
 
<Location />
#       AuthUserFile "/opt/hitachi/httpsd/admin/.htpasswd"
#       AuthType Basic
#       AuthName admin-server
#       Require valid-user
        Deny from all
        Allow from 127.0.0.1
#       SSLRequireSSL
</Location>