IHS V7.0パラメータ・シート
項目 デフォルト値 設定値 備考
Section1: Global Environment
ServerRoot "/usr/IBM/HTTPServer" - 製品インストール・ディレクトリ
LockFile logs/accept.lock コメントアウト(デフォルト) 受付をシリアライズするためのロックファイルの位置
PidFile logs/httpd.pid - サーバー起動時にプロセスIDを記録するファイルの指定
Timeout 300 - リクエストを失敗させるまでにサーバが待つ秒数を設定
KeepAlive On - 持続接続を用いるか否か
MaxKeepAliveRequests 100 - 1回の持続接続で行えるリクエストとの最大数
KeepAliveTimeout 10 - 持続接続を保持する秒数
Server-PoolSize Requlation
ThreadLimit 25 - ThreadPerChildの最大設定値
ServerLimit 64 - StartServersの最大設定値
StartServers 1 - 起動時の初期プロセス数
MaxClients 600 - クライアントの同時コネクション数の最大値
MinSpareThreads 25 - スペアに用意しておくスレッド数の最小値
MaxSpareThreads 75 - スペアに用意しておくスレッド数の最大値
ThreadsPerChild 25 - 個々の子プロセスが起動時に生成するスレッドの数
MaxRequestsPerChild 0 - 個々の子プロセスが処理できるリクエストの最大数
Listen 80 - ListenするIPアドレスとポート
Dinamic Shared Objects
LoadModule
authz_host_module modules/mod_authz_host.so - ホストによるアクセス制限とパスワードによる認証
ibm_ssl_module modules/mod_ibm_ssl.so - SSL機能を提供する
auth_basic_module modules/mod_auth_basic.so - HTTP 基本認証でアクセス制限
authn_file_module modules/mod_authn_file.so - テキストファイルを用いたユーザ認証
authz_user_module modules/mod_authz_user.so - 認証されたユーザにアクセス制御機能を提供
authz_groupfile_module modules/mod_authz_groupfile.so - テキストファイルを用いたグループ単位でのアクセス制御機能を提供
include_module modules/mod_include.so - ServerSideInclude機能を提供する
log_config_module modules/mod_log_config.so - リクエストのログの収集機能、ログのカスタマイズ機能を提供
env_module modules/mod_env.so - CGI 及び SSI ページに渡される環境変数を変更する機能を提供する
mime_magic_module modules/mod_mime_magic.so コメントアウト(デフォルト) コンテンツの数バイトからMIMEタイプを判断する
expires_module modules/mod_expires.so コメントアウト(デフォルト) ユーザの指定した基準に基づいた Expires と Cache-Control HTTP
headers_module modules/mod_headers.so コメントアウト(デフォルト) ヘッダの生成
リクエスト・レスポンスのヘッダーをカスタマイズ
unique_id_module modules/mod_unique_id.so - 個々のリクエストに一意なIDをつける
setenvif_module modules/mod_setenvif.so - リクエストの特徴に基づいた環境変数の設定を可能にする
proxy_module modules/mod_proxy.so コメントアウト(デフォルト) プロキシー機能の提供
proxy_connect_module modules/mod_proxy_connect.so コメントアウト(デフォルト) CONNECTリクエスト機能によるプロキシの拡張
proxy_ftp_module modules/mod_proxy_ftp.so コメントアウト(デフォルト) FTPプロキシー機能を提供
proxy_http_module modules/mod_proxy_http.so コメントアウト(デフォルト) HTTPプロキシー機能を提供
mime_module modules/mod_mime.so - コンテンツのMIMEタイプを調べる
dav_module modules/mod_dav.so コメントアウト(デフォルト) WebDAVを解釈し、mod_dav_fsモジュールに引き渡す
dav_fs_module modules/mod_dav_fs.so コメントアウト(デフォルト) mod_davモジュールから情報を受け取り、処理を実行する
autoindex_module modules/mod_autoindex.so - Unixのls コマンドに似たディレクトリーインデックスを生成する
asis_module modules/mod_asis.so コメントアウト(デフォルト) 自分用のHTTPヘッダーの書かれているファイルを送信する
info_module modules/mod_info.so コメントアウト(デフォルト) サーバ設定の表示
cgid_module modules/mod_cgid.so - CGI スクリプトの実行
dir_module modules/mod_dir.so - 「最後のスラッシュ」のリダイレクトと、ディレクトリのインデックスファイルを扱う
機能を提供する
actions_module modules/mod_actions.so - メディアタイプやリクエストメソッドに応じて CGI
speling_module modules/mod_speling.so コメントアウト(デフォルト) スクリプトを実行する機能を提供
間違った URL のスペルチェックを行い、自動修正を実施
userdir_module modules/mod_userdir.so コメントアウト(デフォルト) ユーザー専用のディレクトリーを提供
alias_module ホストファイルシステム上のいろいろな違う場所を
modules/mod_alias.so -
ドキュメントツリーにマップする機能と、URL
rewrite_module modules/mod_rewrite.so コメントアウト(デフォルト) のリダイレクトを行なう機能を提供する
URLとファイルを関連付け、書き換える
deflate_module modules/mod_deflate.so コメントアウト(デフォルト) クライアントへ送られる前にコンテンツを圧縮する
ExtendedStatus
ExtendedStatus On - (注)status_moduleをロードしないため無効
Section 2: 'Main' server configuration
User nobody -
Group nobody -
ServerAdmin you@your.address -
ServerName -
UseCanonicalName 自己参照URLを生成する際にサーバーのホスト名とポートを決定する方法を
Off - 設定
Offの場合、クライアントがアクセスしてきたホスト名・ポートを使用する
DocumentRoot /usr/IBM/HTTPServer/htdocs - Onの場合、ServerNameディレクティブの値を使用
コンテンツの配置ディレクトリ
ディレクトリのデフォルトの設定
Options FollowSymLinks - ディレクトリーに対して使用可能な機能を設定する
AllowOverride None - .htaccess で許可されるディレクティブの種類
- DocumentRootディレクトリに関する設定
Options Indexes FollowSymLinks - ディレクトリに対して使用可能な機能を設定する
AllowOverride None - .htaccess で許可されるディレクティブの種類
Order デフォルトのアクセス可能な状態とAllowとDenyが評価される順番を制御する
。
allow,deny - Allow
ディレクティブがDenyディレクティブの前に評価される。アクセスはデフォルト
Allow from all - で拒否されます。Allowディレクティブに合わないか、Denyディレクティブに合う
サーバのある領域にアクセスできるホストを制御する
コメントアウト(デフォルト) mod_usedirで使用するユーザーのホームディレクトリー
AllowOverride FileInfo AuthConfig Limit Indexes コメントアウト(デフォルト)
Options MultiViews Indexes
SymLinksIfOwnerMatch コメントアウト(デフォルト)
IncludesNoExec
コメントアウト(デフォルト)
DirectoryIndex index.html index.html.var - クライアントがディレクトリーをリクエストしたときに調べるリソースのリスト
AccessFileName .htaccess - 分散設定ファイルの名前
.htaccessファイルがクライアントに見られないようにするための設定
Order デフォルトのアクセス可能な状態と、AllowとDenyが評価される順番を制御す
る
allow,deny - Deny
ディレクティブがAllowディレクティブの前に評価される。アクセスはデフォルト
Deny from all - で許可される。Denyディレクティブに合わないか、Allowディレクティブに合うク
サーバーのある領域にアクセスできないホストを制御する
TypesConfig conf/mime.types - MIMEタイプの構成ファイルの位置を指定
DefaultType text/plain - デフォルトのMIMEタイプ
MIMEMagicFile mod_mime_magicモジュールが使用する構成ファイル
conf/magic -
(注)mod_mime_magicモジュールをロードしないため無効
HostnameLookups Off - クライアントの IP アドレスの DNS ルックアップを有効にする
EnableMMAP off コメントアウト(デフォルト) 配送中にファイルを読み込むためにメモリマッピングを使うかどうか
EnableSendfile off - ファイルのクライアントへの配送時にカーネルの sendfile
ErrorLog logs/error_log - サポートを使うかどうか
エラー・ログの配置箇所を指定
LogLevel warn - エラー・ログのログレベル(debug, info, notice, warn, error, crit, alert, emerg)
LogFormat
(NCSA結合方式) "%h %l %u %t \"%r\" %>s %b
\"%{Referer}i\" \"%{User- -
Agent}i\"" combined
(NCSA共通方式) -
"%h %l %u %t \%r\" %>s %b" common
(リファラー・ログ) "%{Referer}i -> %U referer -
(ユーザー・エージェント・ログ) "%{User-agent}i agent -
(NCSA共通方式+%D) - "%h %l %u %t \%r\" %>s %b %D" common_plus NSCA共通形式+レスポンス・タイム(ミリ秒)
CustomLog
(アクセス・ログ) logs/access_log common - アクセスログ
(リファラー・ログ) logs/referer_log referer コメントアウト(デフォルト) リファラー・ログ
(ユーザー・エージェント・ログ) logs/agent_log agent コメントアウト(デフォルト) ユーザー・エージェント・ログ
(NCSA結合方式) logs/access_log combined コメントアウト(デフォルト) NCSA結合方式用ログ
AddServerHeader Off コメントアウト(デフォルト) サーバーのレスポンス・ヘッダーを抑制するかどうか
ServerTokens Prod - レスポンス・ヘッダーのServerの中身を設定する。
ServerSignature On - サーバーが生成するドキュメントのフッタを設定。
Alias /icons/ "/usr/IBM/HTTPServer/icons/" FancyIndexingに用いられるアイコンへのリンク
Options Indexes MultiViews - ディレクトリーに対して使用可能な機能を設定する
AllowOverride None - .htaccess で許可されるディレクティブの種類
Order allow,deny - デフォルトのアクセス可能な状態と、AllowとDenyが評価される順番を制御す
Allow from all - る
サーバーのある領域にアクセスできるホストを制御する
ScriptAlias/cgi-bin/ "/usr/IBM/HTTPServer/cgi-bin/"- CGI配置ディレクトリの指定
Scriptsock logs/cgisock コメントアウト(デフォルト)
AllowOverride None - ディレクトリに対して使用可能な機能を設定する
Options None - .htaccess で許可されるディレクティブの種類
Order allow,deny - デフォルトのアクセス可能な状態と、AllowとDenyが評価される順番を制御す
Allow from all - る
サーバのある領域にアクセスできるホストを制御する
ディレクトリインデックスの設定項目。標準のディレクトリ内のインデックスを表
IndexOptions 示するのか、もしくはアイコンを使って装飾されたインデックスを表示するのか
FancyIndexing VersionSort -
を選択
AddIconByEncoding ファイルに表示するアイコンを MIME 符号化方法で選択
(CMP,/icons/compressed.gif) x-compress x-gzip -
AddIconByType ファイルの隣に表示するアイコンを MIME タイプによって選択
(TXT,/icons/text.gif) text/* -
(IMG,/icons/image2.gif) image/* -
(SND,/icons/sound2.gif) audio/* -
(VID,/icons/movie.gif) video/* -
AddIcon ファイルに表示するアイコンを名前で選択
/icons/binary.gif .bin .exe -
/icons/binhex.gif .hqx -
/icons/tar.gif .tar -
/icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv -
/icons/compressed.gif .Z .z .tgz .gz .zip -
/icons/a.gif .ps .ai .eps -
/icons/layout.gif .html .shtml .htm .pdf -
/icons/text.gif .txt -
/icons/c.gif .c -
/icons/p.gif .pl .py -
/icons/f.gif .for -
/icons/dvi.gif .dvi -
/icons/uuencoded.gif .uu -
/icons/script.gif .conf .sh .shar .csh .ksh .tcl -
/icons/tex.gif .tex -
/icons/bomb.gif core -
/icons/back.gif .. -
/icons/hand.right.gif README -
/icons/folder.gif ^^DIRECTORY^^ -
/icons/blank.gif ^^BLANKICON^^ -
DefaultIcon /icons/unknown.gif - 特定のアイコンが何も設定されていない時にファイルに表示するアイコン
AddDescription ファイルに表示する説明を選択
.gz "GZIP compressed document" -
.tar "tar archive" -
.tgz "GZIP compressed tar archive" -
ReadmeName README.html - インデックス一覧の最後に挿入されるファイルの名前
HeaderName HEADER.html - インデックス一覧の先頭に挿入されるファイルの名前
IndexIgnore .??* *~ *# HEADER* README*
- ディレクトリ一覧を行う際に無視すべきファイルリストに追加
RCS CVS *,v *,t
AddEncoding ファイル名の拡張子を指定されたエンコーディングにマップする
x-compress Z -
x-gzip gz tgz -
AddType ファイル名の拡張子を指定されたコンテントタイプにマップ
application/x-tar .tgz -
image/x-icon .ico -
AddHandler ファイル名の拡張子を指定されたハンドラにマップする
cgi-script .cgi コメントアウト(デフォルト)
send-as-is asis コメントアウト(デフォルト)
imap-file map コメントアウト(デフォルト)
type-map var コメントアウト(デフォルト)
AddType
text/html .shtml コメントアウト(デフォルト)
AddOutputFilter
INCLUDES .shtml コメントアウト(デフォルト)
ErrorDocument IHSが返すステータス・コードに対応したエラー・ページを指定可能
400 - - 400 Bad Request
401 - - 401Unauthorized
402 - - 402 Payment Required
403 - - 403 Forbidden
404 - - 404 Not Found
405 - - 405 Method Not Allowed
406 - - 406 Not Acceptable
407 - - 407 Proxy Authentication Required
408 - - 408 Request Timeout
409 - - 409 Conflict
410 - - 410 Gone
411 - - 411 Length Required
412 - - 412 Precondition Failed
413 - - 413 Request Entity Too Large
414 - - 414 Request-URI Too Long
415 - - 415 Unsupported Media Type
416 - - 416 Requested Range Not Satisfiable
417 - - 417 Expectation Failed
500 - - 500 Internal Server Error
501 - - 501 Not Implemented
502 - - 502 Bad Gateway
503 - - 503 Service Unavailable
504 - - 504 Gateway Timeout
505 - - 505 HTTP Version Not Supported
BrowserMatch ブラウザーの種類にあわせた振る舞いを規定
"Mozilla/2" nokeepalive -
"MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-
-
response-1.0
"RealPlayer 4\.0" force-response-1.0 -
"Java/1\.0" force-response-1.0 -
"JDK/1\.0" force-response-1.0 -
"Microsoft Data Access Internet redirect-carefully -
"^WebDrive" redirect-carefully -
"^WebDAVFS/1.[012]" redirect-carefully -
"^gnome-vfs" redirect-carefully -
server-status用の設定。ロードしないため無効化
SetHandler server-status -
Order deny,allow -
Deny from all -
Allow from .example.com コメントアウト(デフォルト)
コメントアウト(デフォルト) mod_info.cに関する設定
SetHandler server-info コメントアウト(デフォルト)
Order deny,allow コメントアウト(デフォルト)
Deny from all コメントアウト(デフォルト)
Allow from .example.com コメントアウト(デフォルト)
コメントアウト(デフォルト)
コメントアウト(デフォルト) mod_proxyに関する設定
ProxyRequests On コメントアウト(デフォルト)
コメントアウト(デフォルト)
Order deny,allow コメントアウト(デフォルト)
Deny from all コメントアウト(デフォルト)
Allow from .example.com コメントアウト(デフォルト)
コメントアウト(デフォルト)
ProxyVia On コメントアウト(デフォルト)
コメントアウト(デフォルト)
Section 3: Virtual Hosts
NameVirtualHost * コメントアウト(デフォルト) 名前ベース仮想ホストの設定
CoreDumpDirectory /tmp コメントアウト(デフォルト) coreの出力先ディレクトリー
LoadModule
mpmstats_module modules/debug/mod_mpmstats.so - サーバー活動状況の統計情報を取得
mod_mpmstats
ReportInterval 600 - エラーログに出力する間隔
TrackModules On - 統計情報にアクティブモジュールの詳細を含めるかどうか
EnableExceptionHook On - クラッシュの後に例外ハンドラーを実行するフックを有効にする
LoadModule
whatkilledus_module -
modules/debug/mod_whatkilledus.so クラッシュ時にリクエスト、コネクションの情報をエラーログに出力する
LoadModule
net_trace_module modules/debug/mod_net_trace.so コメントアウト(デフォルト) クライアントからの送信、受信データのトレースを取得する機能
mod_net_trace
NetTraceFile /tmp/nettrace -
NetTrace client * dest file event
senddata=65535 event -
recvdata=65535
LoadModule
was_ap20_module - /usr/IBM/HTTPServer/Plugins/bin/mod_was_ap22_http.so Webサーバ・プラグインのモジュール位置を指定
WebSpherePluginConfig - /usr/IBM/HTTPServer/Plugins/config/webserver1/plugin-cfg.xml プラグイン構成ファイルの位置を指定