IBM HTTP Server の構成ファイルの編集 - Powered by Apache (conf/httpd.conf)

IBM® HTTP Server - Powered by Apache の構成ファイル conf/httpd.conf には、HTTP サーバーをカスタマイズするディレクティブが含まれています。 HTTP サーバーで Infoprint Central Web ページを表示できるように、ディレクティブを構成ファイルに追加する必要があります。

構成ファイルを編集するには、以下の情報を conf/httpd.conf ファイルの終わりに追加します。

ヒント: 日本語フィーチャーを注文した場合は、最後の 2 行のコメントを必ず外してください。
# Make the following changes to the httpd.conf file
# for Infoprint Central.
# Normally, these can be added to the end of the file.

# Modify the HTTP response header
# -------------------------------
# Modification of the HTTP request and response headers is 
# provided by the mod_headers module. This module is used 
# to set the HTTP response header option to prevent clickjacking.
LoadModule headers_module modules/mod_headers.so

# SAF (RACF) authorization
# ------------------------
# SAF authentication is provided by the mod_authnz_saf
# module. The mod_authz_default and mod_auth_basic modules
# provide basic authentication and authorization support
# which is needed in mod_authnz_saf configurations.
LoadModule authnz_saf_module modules/mod_authnz_saf.so

変更の始まり# Allowed Methods
#----------------
# This module specifies the allowed methods to
# prevent verb tampering.
LoadModule allowmethods_module modules/mod_allowmethods.so変更の終わり

# Infoprint Central module
# ------------------------
LoadModule IpC_module /usr/lpp/Printsrv/lib/aopipc.so

<Location /Infoprint/>
  AuthName "Infoprint Central"
  AuthType Basic
  AuthBasicProvider saf
  # Infoprint Central requires an authorized user
  Require valid-user
  SAFRunAs %%CLIENT%%

  # Use the following directive to use a specific SAF APPL class resource. 
  # During user signon authentication, this class is checked for user permission.
  # The < > are added for demarcation and should not be present if you uncomment the directive. 
  #   SAFAPPLID <name of APPLID>
  # Example:
  #   SAFAPPLID INFOPRINT

  # Handler for Infoprint Central requests
  SetHandler IpC

  # No translation by default for location /Infoprint/
  CharsetSourceEnc ISO8859-1
  CharsetDefault   ISO8859-1

  # Prevent clickjacking                            
  Header append X-Frame-Options "SAMEORIGIN" 

  変更の始まり# Prevent Verb tampering
  AllowMethods GET POST変更の終わり

</Location>

<Location /Infoprint/help/EN_US/>
  # Infoprint Central help is in EBCDIC
  CharsetSourceEnc IBM-1047
  CharsetDefault   ISO8859-1
</Location>

# Map URIs to directories
Alias        /Infoprint/Scripts/               /usr/lpp/Printsrv/InfoprintCentral/Scripts/
Alias        /Infoprint/css/                   /usr/lpp/Printsrv/InfoprintCentral/css/
Alias        /Infoprint/Images/                /usr/lpp/Printsrv/InfoprintCentral/Images/
Alias        /Infoprint/help/En_US/            /usr/lpp/Printsrv/InfoprintCentral/help/En_US/ 
Alias        /Infoprint/En_US/                 /usr/lpp/Printsrv/InfoprintCentral/  
# Japanese feature: uncomment these lines:
#AliasMatch  ^/Infoprint/help/Ja_JP/(.*)¥.htm  /usr/lpp/Printsrv/InfoprintCentral/help/Ja_JP/$1.htm.binary
#Alias       /Infoprint/Ja_JP/                 /usr/lpp/Printsrv/InfoprintCentral/