Page History
...
Following is an example IBM Apache Server Configuration:
...
# Apache Configuration - SSL JSM Services
...
#
LoadModule ibm_ssl_module /QSYS.LIB/QHTTPSVR.LIB/QZSRVSSL.SRVPGM
...
#
Options None
...
Listen 10.2.0.170:443
...
ServerRoot /www/jsmapache
...
DocumentRoot /www/jsmapache/htdocs
...
# DefaultFsCCSID 37
# DefaultNetCCSID 819
...
# ServerUserID USERPROFILE
...
#
LogLevel Warn
...
LogCycle Daily
...
ErrorLog logs/error_log
...
CustomLog logs/access_log combined
...
LogFormat "%{User-agent}i" agent
...
LogFormat "%{Referer}i -> %U" referer
...
LogFormat "%{Cookie}n \"%r\" %t" cookie
...
LogFormat "%h %l %u %t \"%r\" %>s %b" common
...
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
...
#
ScriptAliasMatch ^/cgi-bin/jsmadmin(.*) /qsys.lib/jsm.lib/jsmadmin.pgm$1
...
ScriptAliasMatch ^/cgi-bin/jsmproxy(.*) /qsys.lib/jsm.lib/jsmproxy.pgm$1
...
ScriptAliasMatch ^/cgi-bin/jsmdirect(.*) /qsys.lib/jsm.lib/jsmdirect.pgm$1
...
#
# StartCGI 1
...
# SendBufferSize 32768
...
# ReceiveBufferSize 32768
...
#
# Use name-based virtual hosting
...
NameVirtualHost 10.2.0.170
...
#
<VirtualHost 10.2.0.170>
...
# The first virtual host directive will become the default host
...
Options None
...
ServerName SERVER1
...
SSLEngine On
...
# SSLClientAuth required
...
SSLAppName QIBM_HTTP_SERVER_JSMSSL
...
CGIConvMode BINARY
...
TimeOut 3000
...
</VirtualHost>
...
#
<Directory />
...
Options None
...
Order Allow,Deny
...
Deny from all
...
AllowOverride None
...
</Directory>
...
#
<Directory /www/jsmapache/htdocs>
...
Options None
...
Order Allow,Deny
...
Allow from all
...
AllowOverride None
...
</Directory>
...
#
<Directory /qsys.lib/jsmlib.lib>
...
Options None
...
Order Allow,Deny
...
Allow from all
...
AllowOverride None
...
</Directory>