#=========================================================================
# APACHE directives to display SYNCJOB documentation on a WEB browser
#
# To complete the installation of these directives,
# execute the following command:
# CPYF FROMFILE(SYNCJOB/QATMHINSTC) TOFILE(QUSRSYS/QATMHINSTC)
# FROMMBR(SYNCJOB) TOMBR(SYNCJOB) MBROPT(*REPLACE) CRTFILE(*YES)
#
# To start the HTTP instance for SYNCJOB,
# execute the following command:
# STRTCPSVR SERVER(*HTTP) HTTPSVR(SYNCJOB)
# Then, run command WRKACTJOB SBS(QHTTPSVR) and make sure that more than
# one SYNCJOB job is running.
# If not, the SYNCJOB HTTP instance failed being started.
# You should then look in the joblogs for SYNCJOBS jobs and find out
# what the error was.
#
# To display SYNCJOB documentation, type the following in the location line of your browser:
# http://yourAS400IpAddr:8019/syncjob/html/page1.htm
#
#=========================================================================
# PART 1
#=========================================================================
Listen 8019
ServerRoot /syncjob/conf
DocumentRoot /syncjob/conf/htdocs
DefaultType text/html
CGIConvMode %%EBCDIC/EBCDIC%%
ThreadsPerChild 53
MaxCGIJobs 100
StartCGI 2 QTMHHTP1
Timeout 1800
MaxPersistentCGI 5
CGIRecyclePersist on
PersistentCGITimeout 60
DynamicCache on
CacheLocalSizeLimit 500000
FRCAEnableFileCache On
#=========================================================================
Options +ExecCGI -FollowSymLinks -SymLinksIfOwnerMatch +Includes -MultiViews -Indexes
IdentityCheck Off
AlwaysDirectoryIndex off
DirectoryIndex index.html welcome.html
# The following directives regard the HTTP instance logs
ErrorLog /syncjob/conf/logs/basic_error_log
LogFormat "%h %l %u %t \"%r\" %>s %b" common
CustomLog /syncjob/conf/logs/access_log Common
LogMaint /syncjob/conf/logs/basic_error_log 60 0
LogMaint /syncjob/conf/logs/access_log 30 0
LogLength 512000000
#
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
AddType text/plain .conf
#=========================================================================
ScriptAliasMatch /syncjobp/(.*).pgm /qsys.lib/syncjob.lib/$1.pgm
Alias /syncjob/ /syncjob/
AllowOverride None
Options None
Order Allow,Deny
Allow From all
#Require all granted
AllowOverride None
Options None
Order Allow,Deny
Allow From all
#Require all granted
CGIConvMode %%EBCDIC/EBCDIC%%