Skip to content

Latest commit

 

History

History
27 lines (15 loc) · 1.88 KB

README.md

File metadata and controls

27 lines (15 loc) · 1.88 KB

Using the redirection.io Apache module in a Docker environment

We distribute our Apache module as Debian/Ubuntu or Red Hat packages, which are available in our repositories.

This example shows how to use the pre-compiled redirection.io Apache module provided in our repositories in a Docker environment.

Tip

If your Apache setup is not compatible with our pre-compiled packages, you can compile the module from sources.

Description

The service directory contains two services:

  • apache: an Apache Dockerfile based on the Ubuntu 24.04 image, with Apache and the redirection.io Apache module installed from our apt repository
  • redirectionio-agent: a simple Dockerfile to get the agent running

The redirection.io apache module

apache

This is a standard Ubuntu 24.04 image, with the distribution-provided apache2 package, and libapache2-mod-redirectionio installed from our deb repository, as explained in our documentation.

It defines a single VirtualHost, for which redirection is enabled.

redirectionio-agent

The agent is installed using our manual installation instructions. Note that we have enabled a /var/lib/redirectionio volume, used to store redirection.io agent's cache data.