When you have installed the gateway files for your
operating system, you need to configure your Web server to find and recognize the Gateway files.
You need to perform the tasks which are described in detail below:
Configure the path to your MQSeries Internet Gateway files to suit the Web server interface that
you intend to use. If you configure more than one interface, your input forms will use the
first configured interface they find.
Configure the path to your MQSeries Internet Gateway configuration files
Configure the path to your MQSeries Internet Gateway documentation files
Perform any additional configuration for your platform
Restart your Web server
The CGI interface, configuration files, and documentation paths are all configured using
the Netscape Admin Server. The NSAPI interface requires you to edit some Web server
files.
Display the Netscape Server Selector page. The default location for this page is at port 8304
on the host machine, but this may have been changed in your local configuration.
Select the server you want to change
Select Programs from the menu bar
Select CGI directory from the left hand index
Add your CGI directory information by entering the following data in the form that is displayed:
To configure for the NSAPI interface you need to edit three of the Web server files:
MIME.TYPES
OBJ.CONF
MAGNUS.CONF
Make sure that you edit the files that are in your Web server directory. This is typically a
sub-directory with a name like '\httpd-hostname'. Do not edit the files in the '\admserv'
directory.
Edit each of the files as described below:
MIME.TYPES
Add the line
type=mqseries/form exts=mqf
Mapping an extension of 'mqf' to an 'mqseries/form' type.
OBJ.CONF
Add the following line
Service method="(GET|POST)" type=mqseries/form fn="DMQNSAPI"
between
and
Mapping the 'mqseries/form' type to a service method of 'GET|POST' and the 'DMQNSAPI' function
When you have edited the files, go to your server page in the Netscape Admin server
as described in Configuring for the CGI interface above, and select
System Settings from the menu bar.
A message is displayed asking you if you want to apply the manual changes that you have just made.
Select the Apply button which is near the top of the page.
Note: If you make a mistake during this configuration, it may prevent your complete Web server from starting,
not just the NSAPI interface.