Salesforce

HTTP Server Configuration (Magic xpa 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

HTTP Server Configuration (Magic xpa 3.x)

  1. From the Internet/Partition menu, select HTTP Configuration.

  2. Select option 4, Work with HTTP Configuration.

  3. Accept CONFIG, the default configuration name, and press Enter.

  4. Make sure the GET, HEAD and POST lines are enabled. Then add the following lines:

  • Pass /[Magic install directory]/*

  • Pass /[Magic install directory]/web_utils/*

  • Pass /[Magic install directory]/cgibin/*

  • Map /MagicUtils/* /[Magic install directory]/web_utils/*

  • Map /MagicCache/* /[Magic install directory]/Browser_Client_Cache/*

  • Map /cgi-bin/* /cgi-bin/MGRQCGI.PGM

  • Exec /cgi-bin/* /QSYS.LIB/[Magic install directory].LIB/*

  1. Select option 6 to end the HTTP server and then select option 5 to start the HTTP server.

To send a request to a Magic xpa Server on IBM i from an Internet Browser open the following URL:

http://<server_name>/cgi-bin/mgrqcgi024?appname=examples&prgname=AAA

Note: The MGREQ.INI file, which is used by the Apache or by HTTP original web servers is located in the same directory where the Magic Internet requester program mgrqcgi024 is located. The default location of the MGREQ.INI file and the Magic Internet requester program mgrqcgi024 is in the cgibin directory.

Reference
Attachment 
Attachment