(dist)(iseries)Edit web server configuration files
Edit web server configuration files to configure a Web server.
(dist) The Web Server Plug-ins Configuration Tool configures supported web servers. Use this topic to understand how the tool configures the web server configuration files.
(dist) To change a configuration, we can run the Web Server Plug-ins Configuration Tool again to re-configure the web server or we can edit the files.
There are some web server configuration settings that cannot be edited:
- The plugin-cfg.xml and plugin-key.kdb properties on the Servers > Server Types > Web servers > web_server_name > Plug-in Properties page of the console are grayed-out because they cannot be edited.
- After the web server definition is created, the /config/webserver_name value appended to the end of plugins_root cannot be edited.
gotcha
(dist) To support a nondefault profile, edit the configuration to point the web server to the correct location of the plug-in configuration file (plugin-cfg.xml). In this case, you would change the profile path from the default profile to the secondary profile.
(iseries) Use the IBM Web Administration for IBM i to configure IBM i web servers to communicate with a WAS. Doing so automatically updates the web server configuration files as needed.
(iseries) To change a configuration, we can use the IBM Web Administration for IBM i to re-configure the web server, or we can edit the files. IBM recommends using the IBM Web Administration for IBM i to configure the web server configuration file. However, sometimes you must edit the files.
We must determine whether the web server application uses a 32-bit or 64-bit architecture. If the machine supports a 64-bit architecture, we can use either a 32-bit or a 64-bit web server application. The following examples show how to determine which the architecture for the web server application:
- For Apache-based web servers, including IBM HTTP Server, we can determine the architecture using the following techniques:
Run the command:
apachectl -V | grep Architecture
This command displays the Architecture value for the web server, which will be either 32-bit or 64-bit.
- Run the following command from the IBM_HTTP_Server_install_root\bin directory:
apache -V
Look for the value of the Architecture: line in the output. This value is either 32-bit or 64-bit.
- For other, non-Apache based web servers, use the following techniques. These techniques also work for Apache-based web servers.
Run the file command against the primary web server application executable file to display its type. For example, run the following command on an AIX system:
file /usr/bin/httpd
This command results in the following output:
- For a 64-bit web server: httpd: 64-bit XCOFF executable ...
- For a 32-bit web server: httpd: executable (RISC System/6000)...
In general, if the output of the file command does not indicate 64 in the output, then the application is 32-bit application.
- Open the Microsoft Windows Task Manager when the server is running and locate the server in the process list. A 32-bit application has *32 after its name.
If the web server application uses a 64-bit architecture, the plug-in library should be loaded from the plugin_root/bin/64bit directory. If the web server application uses a 32-bit architecture, the plug-in library should be loaded from the plugin_root/bin/32bits directory. If the plugin_root/bin/64bits directory does not exist, use the 32-bit architecture.
This task points you to information on editing web server configuration files. Select a link appropriate for the web server.
- (iseries) See the topic about configuring an HTTP server instance for information about configuring the web server.
- (dist) Configure Apache HTTP Server 2.2. See Configure Apache HTTP Server V2.2.
- (dist) Configure Domino Domino Web Server Version 5 and Version 6.x. See Configure Lotus Domino.
- Configure IBM HTTP Server powered by Apache 2.x. See Configure IBM HTTP Server powered by Apache 2.x.
- Configure IBM HTTP Server Version 8.0. See Configure IBM HTTP Server v8.5.
- (dist) Configure Microsoft Internet Information Services (IIS) . See Configure Microsoft Internet Information Services (IIS).
- (dist) Configure Sun Java System Web Server (formerly Sun ONE and iPlanet). See Configure the Sun Java System Web Server.
Results
(dist) We can use the Web Server Plug-ins Configuration Tool to configure supported web servers. We can also configure a web servers by editing its configuration.
(iseries) We can use the IBM Web Administration for IBM i to configure IBM i Web servers. We can also configure a web servers by editing its configuration.
Subtopics
- Configure Apache HTTP Server V2.0
- Configure Apache HTTP Server V2.2
- Configure Lotus Domino
- Configure IBM HTTP Server powered by Apache 2.x
- Configure IBM HTTP Server v8.5
- Configure Microsoft Internet Information Services (IIS)
- Configure the Sun Java System Web Server