+

Search Tips   |   Advanced Search

IBM i stand-alone: Prepare a remote Web server



Configure the Web server

  1. Install and configure the Web server;

  2. For Lotus Domino...

    • Edit notes.ini on the Web server
    • Set HTTPEnableConnectorHeaders and HTTPAllowDecodedUrlPercent to 1

    If we are using WebDav, enable it in the Lotus Domino Webserver Administrative Console.

  3. For IHS or Apache Server, edit httpd.conf. Set AllowEncodedSlashes to On; the directive should be added at the root level as a global directive.

    HTTP server type Documentation link
    HTTP Server IBM HTTP Server
    Apache Server AllowEncodedSlashes directives

  4. Stop the Web server.

  5. Install and configure the Web server plug-in on the system where the Web server is located using the Plug-ins installation wizard provided with WAS. Refer to Select a Web server topology diagram and road map for information.

    If using WebDAV with mashups: After installing the Web server plug-in, edit plugin-cfg.xml and set AcceptAllContent to true.

    You may need to adjust the ServerIOTimeout value, which defines how long the plug-in should wait for a response from the application. The recommended minimum value is 60. Adjust higher if we are retrieving data from a database. To update, edit plugin-cfg.xml and set ServerIOTimeout . See Common questions about the Web server plug-in.

  6. If we are using a Oracle iPlanet Web Server, some portlets require disabling the unix-uri-clean or nt-uri-clean directives to operate properly. We can enable/disable these directives by editing obj.conf.

    If we are using Oracle iPlanet Web Server v7, disable uri-clean.

  7. If we are using Oracle iPlanet Web Server v7 update 8, read Technote 1448262 and complete the steps to resolve the HTTP 408/409 error.

  8. Some features, such as portal mashups and change layout for pages with the Page Builder theme using an IIS web server, require an enabled PUT and DELETE method. If the Web server has these methods disabled:

    • Enable HTTP tunneling to simulate PUT and DELETE requests, which means that POST requests are used instead.

      See the "Switch for tunneling of HTTP methods" link for information.

    • Enable PUT and DELETE requests.

  9. Start the Web server.

  10. To use the Web application bridge feature:

    1. Log on to the WAS admin console.

    2. Go to Applications > Application Types > WebSphere enterprise applications.

    3. Find and click wp.vwat.servlet.ear link.

    4. Under the Web Module Properties heading, click Context Root For Web Modules.

    5. Change the context root to /.

    6. Click OK.

    7. Click Save to save the changes to the master configuration.

    8. Stop and restart wp.vwat.servlet.ear.


Parent: Set up a stand-alone production server on IBM i
Previous: IBM i stand-alone: Prepare DB2 for IBM i
Next: IBM i stand-alone: Configure Portal to use a user registry
Related reference:
Switch for tunneling of HTTP methods