Previous Topic: Enterprise Management

Next Topic: Repository Maintenance

Web Server Configuration

The installation process creates a configuration file containing all the information required to run the Java GUI. However, there are many options that affect the behavior of the web server; we discuss only some of them here.

For more information about web servers, see the IBM manual IBM HTTP Server for your operating system release.

If a web server is already running, you can support multiple applications from the one server or change the port number for one of them.

To change the port number, edit the configuration file and modify the Port operand.

To merge CCS into an existing web server, you must add the following to your configuration file:

ServerRoot	/cai/nsmem/browser this should contain the install path for NSM
HostName	MYHOSTSERVER the host name of your machine or
151.212.166.42 this should be the IP address of your machine
Port		80 The port to connect to: Default 80.
#
# The default EM configuration specifies no security inside the
# Web server since authentication is performed in our Java server once
# the user connects to the system. The NOSEC definition (below) allows
# Access to occur under the web server's security context (as opposed
# to under any specific individual's context).
#
Protection NOSEC {
ServerId	TNGFW_Server
 AuthType	Basic
 			PasswdFile	%%SAF%%
 			UserID		%%SERVER%%
 			Mask		Anonymous
}
Protect		/scripts/*		NOSEC %%SERVER%%
Protect		/tngfw/scripts/*	NOSEC %%SERVER%%
Protect		/tngfw/*		NOSEC %%SERVER%%
Protect		/tng/*			NOSEC %%SERVER%%
Protect		/browser/*		NOSEC %%SERVER%%
#
# The following directives specify the location of the Framework
# directories. If you are integrating Framework into an existing
# web server, these statements must be included in your existing
# HTTPD configuration file.
#
Exec		/scripts/*		/cai/nsmem/browser/scripts/*
Exec		/tngfw/scripts/*	/cai/nsmem/browser/scripts/*
Pass		/tngfw/*		/cai/nsmem/browser/*
Pass		/tng/*			/cai/nsmem/browser/*
Pass		/browser/*		/cai/nsmem/browser/*
Pass		/*			/cai/nsmem/browser/*
Pass		*			/cai/nsmem/browser/*
#
Logging:
#	-- Uncomment the following lines to enable logging --
#  AgentLog	logs/Agent
#  AccessLog	logs/httpd-log
#  CgiErrorLog	logs/cgi-errors
#  ErrorLog	logs/httpd-errors
#  TraceLog	logs/jttrace

You can find these statements in file /cai/nsmem/browser/httpd.conf. You can copy and paste them into your existing web server configuration file.