Amazon Linux Apache Module Install

IMPORTANT

This guide only applies to Next-Gen WAF customers with access to the Next-Gen WAF control panel. If you have access to the Next-Gen WAF product in the Fastly control panel, you can only deploy the Next-Gen WAF with the Edge WAF deployment method.

The Next-Gen WAF Apache module supports Amazon Linux 2015.09.01 or higher.

Prerequisites

If you haven't already, add the Amazon Linux package repository on the host that will contain the module.

Install the Apache module

  1. Install the Next-Gen WAF Apache Module.

    • Amazon Linux 2

      $ sudo yum install sigsci-module-apache
    • Amazon Linux 2015.09.01 with Apache 2.4

      $ sudo yum install sigsci-module-apache24
    • Amazon Linux 2015.09.01 with Apache 2.2

      $ sudo yum install sigsci-module-apache
  2. Add the following line to your Apache configuration after the Dynamic Shared Object (DSO) Support section to enable the Next-Gen WAF Apache module:

    LoadModule signalsciences_module /etc/httpd/modules/mod_signalsciences.so
  3. Restart Apache.

    • Amazon Linux 2

      $ sudo systemctl restart httpd
    • Amazon Linux 2015.09.01

      $ sudo service httpd restart

Next steps

Verify the agent and module installation and explore module options.

Was this guide helpful?

Do not use this form to send sensitive information. If you need assistance, contact support. This form is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.