Troubleshooting
Problem
This document describes what is needed in the Apache configuration to access a library in an Independent ASP.
Resolving The Problem
In order for Apache to access a library that is not in the system ASP, you need to specify the ASP device name before the QSYS.LIB in the Alias and the Directory container similar to what follows below (Note: ASP1 and ASP2 are the IASP device names):
ScriptAliasMatch ^/prdobj/(.*) /ASP1/QSYS.LIB/PRDLIB.LIB/$1.PGM
ScriptAliasMatch ^/tstobj/(.*) /ASP2/QSYS.LIB/TSTLIB.LIB/$1.PGM
<Directory /ASP1/QSYS.LIB/PRDLIB.LIB/>
Order Allow,Deny
Allow From all
Options +ExecCGI
CGIConvMode EBCDIC
</Directory>
<Directory /ASP2/QSYS.LIB/TSTLIB.LIB/>
Order Allow,Deny
Allow From all
Options +ExecCGI
CGIConvMode EBCDIC
</Directory>
ScriptAliasMatch ^/prdobj/(.*) /ASP1/QSYS.LIB/PRDLIB.LIB/$1.PGM
ScriptAliasMatch ^/tstobj/(.*) /ASP2/QSYS.LIB/TSTLIB.LIB/$1.PGM
<Directory /ASP1/QSYS.LIB/PRDLIB.LIB/>
Order Allow,Deny
Allow From all
Options +ExecCGI
CGIConvMode EBCDIC
</Directory>
<Directory /ASP2/QSYS.LIB/TSTLIB.LIB/>
Order Allow,Deny
Allow From all
Options +ExecCGI
CGIConvMode EBCDIC
</Directory>
[{"Type":"MASTER","Line of Business":{"code":"LOB68","label":"Power HW"},"Business Unit":{"code":"BU070","label":"IBM Infrastructure"},"Product":{"code":"SWG60","label":"IBM i"},"ARM Category":[{"code":"a8m0z0000000CGqAAM","label":"IBM i HTTP Server"}],"ARM Case Number":"","Platform":[{"code":"PF012","label":"IBM i"}],"Version":"6.1.0;7.1.0;7.2.0;7.3.0;7.4.0;7.5.0;7.6.0"}]
Historical Number
506591005
Was this topic helpful?
Document Information
Modified date:
03 June 2025
UID
nas8N1013348