#========================================================================= # APACHE directives to run instance WRKVLDL # # To complete the installation of these directives, # execute the following command: # CPYF FROMFILE(WRKVLDL/QATMHINSTC) TOFILE(QUSRSYS/QATMHINSTC) # FROMMBR(WRKVLDL) TOMBR(WRKVLDL) MBROPT(*REPLACE) CRTFILE(*YES) # # To start the HTTP instance WRKVLDL, # execute the following command: # STRTCPSVR SERVER(*HTTP) HTTPSVR(WRKVLDL) # Then, run command WRKACTJOB SBS(QHTTPSVR) and make sure that more than # one WRKVLDL job is running. # If not, the WRKVLDL HTTP instance failed being started. # You should then look in the joblogs for WRKVLDL jobs and find out # what the error was. # # To run WRKVLDL, type the following in the location line of your browser: # http://yourAS400IpAddr:8026/wrkvldl/start # #========================================================================= # PART 1 #========================================================================= ServerRoot /wrkvldl/conf DocumentRoot /wrkvldl/conf/hotdocs Listen 8026 DefaultType text/html # CGI CGIConvMode %%EBCDIC/EBCDIC%% ThreadsPerChild 53 MaxCGIJobs 100 StartCGI 2 QTMHHTP1 Timeout 1800 #========================================================================= # PART 2 #========================================================================= Options +ExecCGI -FollowSymLinks -SymLinksIfOwnerMatch +Includes -MultiViews -Indexes IdentityCheck Off AlwaysDirectoryIndex off DirectoryIndex index.html welcome.html # The following directives regard the HTTP instance logs # They are commented out. Uncomment them to have the logs generated #ErrorLog /wrkvldl/conf/logs/basic_error_log #LogFormat "%h %l %u %t \"%r\" %>s %b" common #CustomLog /wrkvldl/conf/logs/access_log Common #LogMaint /wrkvldl/conf/logs/basic_error_log 60 0 #LogMaint /wrkvldl/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 Order Allow,Deny Allow From all #========================================================================= # PART 3 #========================================================================= #---- WRKVLDL directives ScriptAliasMatch ^/wrkvldl/start$ /qsys.lib/wrkvldl.lib/wrkvldl.pgm ScriptAliasMatch /wrkvldlp/(.*).pgm /qsys.lib/wrkvldl.lib/$1.pgm Alias /wrkvldl/ /wrkvldl/ AllowOverride None Options None order allow,deny allow from all Options -ExecCGI CGIConvMode %%EBCDIC/EBCDIC%% AllowOverride None Options None order allow,deny allow from all AuthType Basic AuthName "Validation List Utility" PasswdFile %%SYSTEM%% UserID %%CLIENT%% Require valid-user