Content
Introduction
Release Notes
Features
FAQs
Requirements
Installation
iServer
AOL Gateway
Apache Gateway
ISAPI Gateway
NSAPI Gateway
CGI Gateway
Java Gateway
Add-ons
How To
Change Log
Future Plans
Knowledge Base
Documentation
Samples
Sales
Legal
Feedback
|
Select the platform to install the CGI Gateway under:
Windows 9x/NT
Linux/Unix
Use the instructions below to configure other Application/Web Servers
running on Windows 9x/NT supporting Common Gateway Interface (CGI) to
use iServer as their Servlet Engine.
- Install and configure iServer.
- Install and configure the Application/Web Server that supports
CGI enabling CGI executables.
- Define variables used by the CGI Gateway.
For Windows 9x add the following environmental variables to the
autoexec.bat file.
set ISERVER_HOSTNAME = host_name
set ISERVER_PORT = port
set IGATEWAY_DEBUG = debug
debug
|
whether to make a dump of the request/response to
\temp\cgiGateway.log
[ true | false ],
normally false.
|
host_name
|
the name of the host computer running iServer.
If iServer is running on the same computer as the iServer CGI Gateway
then localhost can be used.
|
port
|
is the port number iServer is listening on,
normally port 8080.
|
For Windows NT using the Control Panel double-click on System then
click on Environment tab and add the following System Variables.
Variable
|
Value
|
IGATEWAY_DEBUG
|
whether to make a dump of the request/response to
\temp\cgiGateway.log
[ true | false ],
normally false.
|
ISERVER_HOSTNAME
|
the name of the host computer running iServer.
If iServer is running on the same computer as the iServer CGI Gateway
then localhost can be used.
|
ISERVER_PORT
|
is the port number iServer is listening on,
normally port 8080.
|
- Add the following Virtual Directory.
Alias
|
the URI used to access the iServer CGI Gateway,
normally /servlet.
|
Directory
|
the path the iServer CGI Gateway,
normally c:\iws\bin\win32\cgiGateway.exe.
|
Access/Permissions
|
the privileges, normally Execute.
|
- Restart the computer.
top of page
Use the instructions below to configure other Application/Web Servers
running on Linux/Unix supporting Common Gateway Interface (CGI)
to use iServer as their Servlet Engine.
- Install and configure iServer.
- Install and configure the Application/Web Server that supports
CGI enabling CGI executables.
- Define the following environmental variables in the server's login
script.
export ISERVER_HOSTNAME = host_name
export ISERVER_PORT = port
export IGATEWAY_DEBUG = debug
debug
|
whether to make a dump of the request/response to
/tmp/cgiGateway.log
[ true | false ],
normally false.
|
host_name
|
the name of the host computer running iServer.
If iServer is running on the same computer as the iServer CGI Gateway
then localhost can be used.
|
port
|
is the port number iServer is listening on,
normally port 8080.
|
- Add the following Virtual Directory to the server's configuration
file.
Alias
|
the URI used to access the iServer CGI Gateway,
normally /servlet.
|
Directory
|
the path the iServer CGI Gateway,
normally /iws/bin/linux/cgiGateway.
|
Access/Permissions
|
the privileges, normally Execute.
|
- Logout and log back in.
- Restart the computer.
|
|