ページの先頭行へ戻る
Interstage Application Server/Interstage Web Server Interstage HTTP Server 運用ガイド

3.2.13 サーバステータスの監視

  サーバステータスの監視は、環境定義ファイル(httpd.conf)において、以下に示すディレクティブを使用して設定します。
  なお、ネットワーク上の悪意のある人(またはマシン)がそのサーバステータスをのぞき見る脅威があるため、ユーザ認証およびIPアクセスコントロールを併用して設定することをお勧めします。

注意

  Webブラウザ(クライアント)でURL“http://192.168.1.1(WebサーバのIPアドレス)/server-status”を指定し、サーバステータス情報を表示する場合


LoadModule auth_module "C:/Interstage/F3FMihs/modules/mod_auth.so"
LoadModule status_module "C:/Interstage/F3FMihs/modules/mod_status.so"
ExtendedStatus on
<Location /server-status>
    AuthUserFile "C:/Interstage/F3FMihs/servers/FJapache/conf/password.txt"
    AuthName "Server Status"
    AuthType Basic
    Require valid-user
    SetHandler server-status
    Order deny,allow
    Deny from all
    Allow from 192.168.1.1
</Location>

LoadModule auth_module "/opt/FJSVihs/modules/mod_auth.so"
LoadModule status_module "/opt/FJSVihs/modules/mod_status.so"
ExtendedStatus on
<Location /server-status>
    AuthUserFile "/opt/FJSVihs/servers/FJapache/conf/password.txt"
    AuthName "Server Status"
    AuthType Basic
    Require valid-user
    SetHandler server-status
    Order deny,allow
    Deny from all
    Allow from 192.168.1.1
</Location>