Configure the Apache web server
Configure the communication between IBM WebSphere Portal and the Apache web server.
- If we are using IBM HTTP Server or Apache Server, edit the httpd.conf file on the web server. Set the AllowEncodedSlashes directive to On. Add the directive to the root level as a global directive.
HTTP server type Documentation link Read the appropriate HTTP Server documentation IBM HTTP Server Read the appropriate Apache Server documentation AllowEncodedSlashes directives
- Stop the web server.
- Install and configure the web server plug-in on the system where the web server is located. Use the plug-ins installation wizard provided with WAS. Refer to the following topic for information:
Depending on how we use the web server, we must adjust the ServerIOTimeout parameter. It defines how long the plug-in must wait for a response from the application. The minimum value is 60 but we must increase this value if we are retrieving data from a database. To update this value, locate and open plugin-cfg.xml and set ServerIOTimeout to an appropriate value. For information, read Common questions about the Web server plug-in.
- Web 2.0 REST features in portal might require an enabled PUT and DELETE method. If the web server has these methods disabled, complete one of the following options:
- 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.
- Follow the instructions for the web server to enable PUT and DELETE requests.
- Start the web server.
- Optional: If we want to use the short version of vanity URLs, add a rewrite rule to the web server. For more information, read Provide short vanity URLs.