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.
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
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.
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.