Configuring your Apache web server | HCL Digital Experience

Configure the communication between HCL Portal and your Apache web server.

Procedure

  1. If you 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
  2. Stop the web server.
  3. Install and configure the web server plug-in on the system where the web server is located. Use the plug-ins installation wizard that is provided with WebSphere® Application Server. Refer to the following topic for information:
    Important: Depending on how you use the web server, you 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 you must increase this value if you are retrieving data from a database. To update this value, locate and open your plugin-cfg.xml file and set ServerIOTimeout to an appropriate value. For information, read Common questions about the Web server plug-in.
  4. Web 2.0 REST features in portal might require an enabled PUT and DELETE method. If your 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 your web server to enable PUT and DELETE requests.
  5. Start the web server.
  6. Optional: If you want to use the short version of vanity URLs, add a rewrite rule to your web server. For more information, read Providing short vanity URLs.