#=========================================================================
# APACHE directives to run EASY400 applications
#
# To run: http://yourAS400IpAddr:1492/easy400apc/
#
# WARNINGS
# Many of the following directives are related to Easy400 deliverables
# which may not have been installed yet.
# Therefore they are commented out.
#
# Uncomment such directives only when the related Easy400 deliverable
# has been installed.
#
#=========================================================================
# PART 1
#=========================================================================
ServerRoot /easy400apc
DocumentRoot /easy400apc/hotdocs
Listen 1492
DefaultType text/html
CGIConvMode %%EBCDIC/EBCDIC%%
MaxPersistentCGI 70
TimeOut 1800
PersistentCGITimeout 300
MaxPersistentCGITimeout 1200
#=========================================================================
# PART 2
#=========================================================================
Options ExecCGI FollowSymLinks SymLinksIfOwnerMatch Includes
ThreadsPerChild 50
HostNameLookups off
UseCanonicalName Off
RuleCaseSense Off
AlwaysDirectoryIndex On
DirectoryIndex index.html welcome.html
ErrorLog logs/basic_error_log
LogLevel warn
LogTime LocalTime
LogFormat "%h %l %u %t \"%r\" %>s %b" common
CustomLog logs/access_log Common
BrowserMatch "Mozilla/2" nokeepalive
BrowserMatch "JDK/1\.0" force-response-1.0
BrowserMatch "Java/1\.0" force-response-1.0
BrowserMatch "RealPlayer 4\.0" force-response-1.0
BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
#=========================================================================
# PART 3
#=========================================================================
#---- EASY400APC directives
AliasMatch /eapch/(.*)\.htm /QSYS.LIB/EASY400APC.LIB/HTMLSRC.FILE/$1.mbr
AliasMatch /eapch/(.*)\.mbr /QSYS.LIB/EASY400APC.LIB/HTMLSRC.FILE/$1.mbr
Alias /easy400apc/ /easy400apc/
Alias /eapc/ /easy400apc/
Alias /eapch/ /QSYS.LIB/CGIDEV2.LIB/HTMLSRC.FILE/
ScriptAliasMatch /eapcp/(.*).pgm /qsys.lib/easy400apc.lib/$1.pgm
ScriptAliasMatch /eapcp/(.*).cgi /qsys.lib/easy400apc.lib/$1.pgm
order allow,deny
allow from all
AllowOverride None
Options None
order allow,deny
allow from all
#=========================================================================
# PART 4 - Directives commented out
#=========================================================================
#---- CGIDEV2 directives
#AliasMatch /cgidev2h/(.*)\.htm /QSYS.LIB/CGIDEV2.LIB/HTMLSRC.FILE/$1.mbr
#AliasMatch /cgidev2o/(.*)\.htm /QSYS.LIB/CGIDEV2.LIB/DEMOHTML.FILE/$1.mbr
#AliasMatch /cgidev2oit/(.*)\.htm /QSYS.LIB/CGIDEV2.LIB/DEMOHTMLIT.FILE/$1.mbr
#Alias /cgidev2/start /qsys.lib/cgidev2.lib/demohtml.file/demoframe.mbr
#Alias /cgidev/ /cgidev/
#Alias /cgidevf/ /cgidev/
#Alias /cgidev2/ /qsys.lib/cgidev2.lib/
#Alias /cgidev2h/ /QSYS.LIB/CGIDEV2.LIB/HTMLSRC.FILE/
#Alias /cgidev2o/ /QSYS.LIB/CGIDEV2.LIB/DEMOHTML.FILE/
#Alias /cgidev2oit/ /QSYS.LIB/CGIDEV2.LIB/DEMOHTMLIT.FILE/
#ScriptAliasMatch /cgidev2p/(.*).pgm /qsys.lib/cgidev2.lib/$1.pgm
#ScriptAliasMatch /cgidev2p/(.*).cgi /qsys.lib/cgidev2.lib/$1.pgm
#
# AllowOverride None
# Options None
# order allow,deny
# allow from all
#
#
# AllowOverride None
# Options None
# order allow,deny
# allow from all
#
#---- CENTAUR2 directives
#AliasMatch /centaur2h/(.*)\.htm /QSYS.LIB/CENTAUR2.LIB/HTMLSRC.FILE/$1.mbr
#Alias /centaur2/start /qsys.lib/centaur2.lib/htmlsrc.file/start.mbr
#Alias /centaurdir/ /centaurdir/
#ScriptAliasMatch /centaur2p/(.*).pgm /qsys.lib/centaur2.lib/$1.pgm
#ScriptAliasMatch /centaur2p/(.*).cgi /qsys.lib/centaur2.lib/$1.pgm
#
# AllowOverride None
# Options None
# order allow,deny
# allow from all
#
#
# AllowOverride None
# Options None
# order allow,deny
# allow from all
#
#---- CGI400C2 directives
#AliasMatch /cgi400c2h/(.*)\.htm /QSYS.LIB/CGI400C2.LIB/HTMLSRC.FILE/$1.mbr
#AliasMatch /cgi400c2h/(.*)\.mbr /QSYS.LIB/CGI400C2.LIB/HTMLSRC.FILE/$1.mbr
#Alias /cgi400c2/start /qsys.lib/cgi400c2.lib/htmlsrc.file/home.mbr
#Alias /cgi400c2/starti /cgi400c2/homeifs.htm
#Alias /cgi400c2/ /cgi400c2/
#ScriptAliasMatch /cgi400c2p/(.*).pgm /qsys.lib/cgi400c2.lib/$1.pgm
#ScriptAliasMatch /cgi400c2p/(.*).cgi /qsys.lib/cgi400c2.lib/$1.pgm
#
# AllowOverride None
# Options None
# order allow,deny
# allow from all
#
#
# AllowOverride None
# Options None
# order allow,deny
# allow from all
#
#---- JS2 directives
#AliasMatch /js2h/(.*)\.htm /QSYS.LIB/CGI400C2.LIB/HTMLSRC.FILE/$1.mbr
#AliasMatch /js2h/(.*)\.mbr /QSYS.LIB/CGI400C2.LIB/HTMLSRC.FILE/$1.mbr
#Alias /js2/start /js2/html/start.htm
#Alias /js2/ /js2/
#ScriptAliasMatch /js2p/(.*).pgm /qsys.lib/js2.lib/$1.pgm
#ScriptAliasMatch /js2p/(.*).cgi /qsys.lib/js2.lib/$1.pgm
#
# AllowOverride None
# Options None
# order allow,deny
# allow from all
#
#
# AllowOverride None
# Options None
# order allow,deny
# allow from all
#
#---- WEBACT directives
#AliasMatch /webacth/(.*)\.htm /QSYS.LIB/WEBACT.LIB/HTMLSRC.FILE/$1.mbr
#AliasMatch /webacth/(.*)\.mbr /QSYS.LIB/WEBACT.LIB/HTMLSRC.FILE/$1.mbr
#ScriptAliasMatch /webact/start /qsys.lib/webact.lib/dsppage.pgm
#Alias /webact/ /webact/
#ScriptAliasMatch /webactp/(.*).pgm /qsys.lib/webact.lib/$1.pgm
#ScriptAliasMatch /webactp/(.*).cgi /qsys.lib/webact.lib/$1.pgm
#
# AllowOverride None
# Options None
# order allow,deny
# allow from all
#
#
# AllowOverride None
# Options None
# order allow,deny
# allow from all
#
#
# AuthType Basic
# AuthName iSeries_WEB_Access_Toolkit
# PasswdFile %%SYSTEM%%
# UserID %%CLIENT%%
# Require valid-user
#
#
# AuthType Basic
# AuthName iSeries_WEB_Access_Toolkit
# PasswdFile %%SYSTEM%%
# UserID %%CLIENT%%
# Require valid-user
#
#---- WEBSECURE directives
#AliasMatch /websech/(.*)\.htm /QSYS.LIB/WEBSECURE.LIB/HTMLSRC.FILE/$1.mbr
#AliasMatch /websech/(.*)\.mbr /QSYS.LIB/WEBSECURE.LIB/HTMLSRC.FILE/$1.mbr
#AliasMatch /websechs/(.*)\.htm /QSYS.LIB/WEBSECURE.LIB/HTMLSEC.FILE/$1.mbr
#AliasMatch /websechs/(.*)\.mbr /QSYS.LIB/WEBSECURE.LIB/HTMLSEC.FILE/$1.mbr
#Alias /websec/start /qsys.lib/websecure.lib/htmlsrc.file/start.mbr
#Alias /websecf/ /websecure/
#Alias /websecure/ /websecure/
#ScriptAliasMatch /websecp/(.*).pgm /qsys.lib/websecure.lib/$1.pgm
#ScriptAliasMatch /websecp/(.*).cgi /qsys.lib/websecure.lib/$1.pgm
#
# AllowOverride None
# Options None
# order allow,deny
# allow from all
#
#
# AllowOverride None
# Options None
# order allow,deny
# allow from all
#
#
# AuthType Basic
# AuthName CASE01_PROTECTION
# PasswdFile %%SYSTEM%%
# UserID WEBUSER01
# Require valid-user
#/Location>
#Location /websechs/case02try.*>
# AuthType Basic
# AuthName CASE02_PROTECTION
# PasswdFile WEBSECURE/VLDL01
# UserID WEBUSER01
# Require valid-user
#
#
# AuthType Basic
# AuthName CASE03_PROTECTION
# GroupFile /websecure/group01.grp
# PasswdFile WEBSECURE/VLDL01
# UserID WEBUSER01
# Require valid-user
#
#
# AuthType Basic
# AuthName CASE04_PROTECTION
# PasswdFile WEBSECURE/CGI
# UserID WEBUSER01
# Require valid-user
#
#
# AuthType Basic
# AuthName CASE04_PROTECTION
# PasswdFile WEBSECURE/CGI
# UserID WEBUSER01
# Require valid-user
#
#
# AuthType Basic
# AuthName CASE04_PROTECTION
# PasswdFile WEBSECURE/CGI
# UserID WEBUSER01
# Require valid-user
#
#
# AuthType Basic
# AuthName CASE04_PROTECTION
# PasswdFile WEBSECURE/CGI
# UserID WEBUSER01
# Require valid-user
#