User's Guide
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
The configuration is achieved by adding mapping statements to the httpd.cnf
(httpd.conf on AIX, HP_UX, and Solaris) file on your Web server machine.
Within this file you will find blocks of 'Service' statements,
'Exec' statements, and 'Pass' statements. Enter the required statements at the top
of the appropriate block, before the default pass /* statement.
In the following entries
gateway_dir is the path to the Gateway files directory for your installation, and
docs_dir is the path to the documentation files directory for your installation.
- CGI interface
- For AIX,HP_UX, & Solaris
Exec /dmq-bin/*.mqf gateway_dir/dmqcgi
- For OS/2 & Windows/NT
Exec /dmq-bin/*.mqf gateway_dir\dmqcgi.exe
- ICAPI interface
- For AIX
Service /dmq-bin/*.mqf gateway_dir/libdmqicapi_r.a:DMQICAPI
- For Solaris
Service /dmq-bin/*.mqf gateway_dir/libdmqicapi_r.so:DMQICAPI
- For OS/2 & Windows/NT
Service /dmq-bin/*.mqf gateway_dir\dmqicapi.dll:DMQICAPI
- Configuration files
- For AIX,HP_UX, & Solaris
Exec /dmq-bin/dmqcnf* gateway_dir/dmqcnf
- For OS/2 & Windows/NT
Exec /dmq-bin/dmqcnf* gateway_dir\dmqcnf.exe
- Documentation files
- For AIX,HP_UX, & Solaris
Pass /dmq/* docs_dir/*
- For OS/2 & Windows/NT
Pass /dmq/* docs_dir\*
Additional configuration for AIX,
HP-UX, & Solaris
The default user name for most servers is 'nobody'. To maintain security, this name must be changed
using the one of the following procedures:
- Edit the /etc/httpd.conf file, changing the UserID directive to the new
Userid.
- In the server's configuration page, choose the Basic settings and
change the UserID field to the new Userid.
You can use a name that already exists in your mqm group,
or you can create a new one specifically for your Web server, and
add it to the group.
When your Web server configuration is complete, the gateway is ready for use.
To Configure another Web server,
click on the server name in the following list:
![[Help]](images/help.gif)
[ Home |
Order |
Search |
Contact IBM |
Legal ]
(C) IBM Corporation 1997. All Rights Reserved