mod_common_redirect is a simple apache module that implements common redirects without mod_rewrite overhead.
C
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
LICENSE
README.rst
mod_common_redirect.c
mod_common_redirect.conf

README.rst

mod_common_redirect

Author: Benedikt Böhm
Version: 0.1.1
Web:http://github.com/hollow/mod_common_redirect
Git:git clone https://github.com/hollow/mod_common_redirect.git
Download:http://github.com/hollow/mod_common_redirect/downloads

mod_common_redirect is a simple apache module that implements common redirects without mod_rewrite overhead.

Installation

To compile and install this module, use apxs provided by the apache webserver:

apxs -i -a -c mod_common_redirect.conf

Configuration

In your virtual host and/or directory configuration add one or more of the follwing directives to enable/disable redirects:

RedirectCanonical On|Off
Redirects to the canonical hostname. This is usefull for sites with many subdomains.
RedirectForceSSL On|Off
Redirects to the SSL port, to force encryption.

Bugs

Currently, mod_common_redirect cannot be used to force encryption (RedirectForceSSL) on a non-standard port.