Edit Web server configuration files to configure a Web server.
The Plug-ins installation wizard automatically
configures supported Web servers during the installation of the binary
plug-in modules. Use this topic to understand how the wizard configures
the Web server configuration files.
If you
must change a configuration for some reason, you can run the Plug-ins
installation wizard again to reconfigure the Web server, or you can
edit the files. The recommended approach is to always use the Plug-ins
installation wizard to configure the Web server configuration file.
However, sometimes you must edit the files. An example is when you
are installing a Web server definition for a non-default profile.
To support a non-default 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.
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
reconfigure 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.
apachectl -V | grep Architecture
This command displays the Architecture value for the web server, which will be either 32-bit or 64-bit.
apache -V
Look for the value of the Architecture: line in the output. This value is either 32-bit or 64-bit.
file /usr/bin/httpd
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.
This task points you to information on editing Web server configuration files. Select a link appropriate for your Web server.
You can use the Plug-ins installation wizard
to automatically configure supported Web servers. You can also configure
a Web servers by editing its configuration.
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.
In this information ...Subtopics
| IBM Redbooks, demos, education, and more(Index) |