Editing web server configuration files
Edit web server configuration files to configure a web server.
Before you begin
- 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 administrative console are grayed-out because they cannot be edited.
- After the web server definition is created, the /config/webserver_name value that is appended to the end of plugins_root cannot be edited.
Use the IBM® Web Administration for IBM i to configure IBM i web servers to communicate with a WebSphere® Application Server. Doing so automatically updates the web server configuration files as needed. See the topic about creating and configuring an HTTP server instance for more information.
If you must change a configuration for some reason, you can use the IBM Web Administration for IBM i to re-configure the web server, or you can edit the files. The recommended approach is to always use the IBM Web Administration for IBM i to configure the web server configuration file. However, sometimes you must edit the files.
- For Apache-based web servers, including IBM HTTP Server, you can determine the architecture using the following techniques:
- For other, non-Apache based web servers, use the following techniques. These techniques also work for Apache-based web servers.
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, you must use the 32-bit architecture.
About this task
This task points you to information on editing web server configuration files. Select a link appropriate for your web server.
Procedure
- See the topic about configuring an HTTP server instance for information about configuring your web server.
- Configure IBM HTTP Server powered by Apache 2.x.
- Configure IBM HTTP Server. See Configuring IBM HTTP Server.
Results
You can use the IBM Web Administration for IBM i to configure IBM i Web servers. You can also configure a web servers by editing its configuration.