Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Check whether the following lines are in httpd.conf file. To do that, open a console and execute the following command.

    Code Block
    cat /etc/httpd/conf/httpd.conf

    Find the following entries in this file.

    Code Block
    LoadModule proxy_module modules/mod_proxy.so
    LoadModule proxy_connect_module modules/mod_proxy_connect.so
    LoadModule proxy_http_module modules/mod_proxy_http.so




  2. If SELinux is used, this command enables usage of a network request from inside Apache and Apache modules (including libcurl).

    Code Block
    setsebool -P httpd_can_network_connect 1

    -P - This key means that it will be saved across reboots.

  3. If you are not planning to build from sources, install shared libraries that will be used in Apache module.

    Then install apache r-proxy module using rpms:

    For CentOS 6:

    Code Block
    languagebash
    yum install mod_iam_authn-3.5.0-6.el7.centos.x86_64.rpm

    For CentOS 7:

    Code Block
    languagebash
    yum install mod_iam_authn-3.5.0-6.el6.x86_64.rpm  


  4. Alternatelly, instead of installing rpms using yum, You can install dependencies and copy modules to apache modules directory:

    Code Block
    yum install libxml2
    yum install libcurl
    yum install openssl

    Execute the following commands.

    For 64-bit LinuxCentOS 6:

    Code Block
    cp mod_iam_authn_x86_64el6.so /etc/httpd/modules/mod_iam_authn.so
    

    For 32-bitCentOS 7:

    Code Block
    cp mod_iam_authn_i386el7.so /etc/httpd/modules/mod_iam_authn.so


...