Installing the Web Server

Before installing the SWSE, you need to install, configure, and start the supported Web server software on the designated machine. Follow the vendor documentation for this task, and also refer to relevant information in this chapter.

For the best performance and scalability, put the Web server on a dedicated machine.

Editing the httpd.conf File for Apache-Based Web Servers

For Apache-based Web servers, to configure the Web server for use with the SWSE, you must edit the Web server configuration file httpd.conf. This file contains configuration directives for the Web server. Detailed information about the directives in httpd.conf is available at http://www.apache.org.

The httpd.conf file is located in the conf subdirectory under the Web server installation directory or instance directory. Some example paths are shown below (exact paths may vary).

For IBM HTTP Server, the httpd.conf file is located in a directory like /usr/IBMIHS/conf.

For HP Apache Web Server, the httpd.conf file is located in a directory like /opt/hpws/apache32/conf.

For Oracle HTTP Server, the httpd.conf file is located in a directory like /vol2/smithjones/dohs/web/ohs/conf.

Specifying the Character Set Encoding for Apache-Based Web Servers

Apache-based Web servers may ship with the default character encoding setting AddDefaultCharset ISO-8859-1 in the httpd.conf configuration file. For nonresident user interface languages, this setting makes some static content, such as launch pop-ups, About boxes, and help pages display incorrectly. Complete the procedure that follows to reset this for non-Western languages.

To specify a different character encoding setting

Open httpd.conf with a text editor, such as vi.

Locate the line AddDefaultCharset ISO-8859-1 and comment it out by placing a number sign (#) character at the beginning of the line.

Save the file.

Restart the server.

Specifying SWSE Port Number for Apache-Based Web Servers

If a different port is specified for SWSE, you also need to make the following modifications in the httpd.conf file.

To specify a different port number for SWSE

Modify the following two lines in the httpd.conf file:

Listen:PortNumber

ServerName:PortNumber

where:

Listen = IP Address of the Web server machine

ServerName = Machine name

PortNumber = Port number

For example:

72.20.167.154:16131

sdch70a012.oracle.com:16131

Adding Domain Name for Oracle iPlanet Web Server

For Oracle iPlanet Web Server installations, add the domain name to either /etc/hosts or resolve.conf.