Troubleshooting
Problem
To configure Net.Data for the Apache Server review/complete the steps outlined below.
Resolving The Problem
To configure Net.Data for the Apache Server, do the following:
|
1 | On your browser, go to the following Web site: Go to: http:// Select Manage - HTTP Servers on the task bar. In the left frame, select Create HTTP Server. |
| 2 | In the right frame, use the default option to create an HTTP server (powered by Apache), and click Next. Type the name of your server (for example, MYSERVER). Continue clicking the Next button until you come to the place where you can type a Port. If you want the server to run off a port other than 80, specify the port here. Click Next, and then click Finish to complete this part of the configuration. |
| 3 | Edit Configuration File and add the following lines to your Apache instance: ### Net.Data Configuration ### ScriptAlias /cgi-bin/db2www/ /qsys.lib/yourLib1.lib/db2www.pgm/ ScriptAlias /netdata/ /qsys.lib/yourLib2.lib/db2www.pgm/ MaxCGIJobs 40 MaxThreadedCGIJobs 40 CGIMultiThreaded off CGIRecyclePersist On CGIConvMode %%EBCDIC/MIXED%% MaxPersistentCGI 40 PersistentCGITimeout 300 MaxPersistentCGITimeout 1200 <Directory /QSYS.LIB/YOURLIB1.LIB> AllowOverride None Options +ExecCGI +Includes order allow,deny allow from all </Directory> <Directory /QSYS.LIB/YOURLIB2.LIB> AllowOverride None Options +ExecCGI +Includes order allow,deny allow from all </Directory> ### End of Net.Data Configuration ### |
| 4 | Start Apache instance. |
[{"Type":"MASTER","Line of Business":{"code":"LOB57","label":"Power"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG60","label":"IBM i"},"Platform":[{"code":"PF012","label":"IBM i"}],"Version":"6.1.0"}]
Historical Number
26605159
Was this topic helpful?
Document Information
Modified date:
18 December 2019
UID
nas8N1017018