Update Apache

You should update Apache after updating Subversion. The Polarion server, PostgreSQL and Apache should already be stopped for that update.

  1. You can download the appropriate Apache binaries at:

    http://www.apachehaus.com/cgi-bin/download.plx.

    Installation Help for Apache HTTP server is available from Apache at:

    http://httpd.apache.org/docs/2.4/install.html.

  2. Install the downloaded Apache on any machine to get the content of the installation folder.

  3. Back up the folder $POLARION_HOME$\bundled\apache

  4. If you use Apache installed as a service, then uninstall Apache service by running:

    $POLARION_HOME$\bundled\apache\bin\httpd.exe -k uninstall -n

    Apache2Polarion

  5. Delete content of $POLARION_HOME$\bundled\apache except the following:

    1. Folder $POLARION_HOME$\bundled\apache\conf

    2. Files in folder $POLARION_HOME$\bundled\apache\bin:

      msvcr*.dll

      stopApache.js

      libsvn_*.dll

    3. Files in folder $POLARION_HOME$\bundled\apache\modules:

      mod_authz_svn.so

      mod_dav_svn.so

      You may have trouble deleting rotatelogs.exe. If so, you can kill the rotatelogs.exe process using Windows Task Manager.

  6. Copy the content of the Apache installation folder from Step 2, except for the conf folder,

    to $POLARION_HOME$\bundled\apache.

  7. Remove or disable the following lines in the httpd.conf file.

    (To disable, insert the # character at the start of the lines, as shown below.)

    # LoadModule authn_default_module modules/mod_authn_default.so

    # LoadModule authz_default_module modules/mod_authz_default.so

    # DefaultType text/plain

  8. Add the following lines to the httpd.conf file:

    LoadModule access_compat_module modules/mod_access_compat.so

    LoadModule authz_core_module modules/mod_authz_core.so

    LoadModule authn_core_module modules/mod_authn_core.so

  9. Not mandatory, but recommended: in

    $POLARION_HOME$\bundled\apache\conf\extra\httpd-default.conf

    Increase the value of MaxKeepAliveRequests to 10000.

  10. If you use Apache installed as a service, install Apache service. Use the following command in a single line:

    $POLARION_HOME$\bundled\apache\bin\httpd.exe -k install -n Apache2Polarion

  11. Start Apache, PostgreSQL and the Polarion server.