about
i am currently working as an open source software developer/maintainer and freelancer. you can hire me for any of these tasks:
- system administration
- system programming
- web application development
- consulting
for detailed information take a look at my résumé. please note that i currently do unix/linux and open source/free software only.
contact
Benedikt Böhm
Berlin, Germany
- SMTP/XMPP
- bb@xnull.de
- IRC
- Hollow at irc.oftc.net or irc.freenode.net
- GPG
- key id: 0xB5FAF161
detailed information is available. don't forget to take a look at my xing profile and gulp.de profile.
mod_common_redirect
| Author: | Benedikt Böhm |
|---|---|
| Version: | 0.1.1 |
| Web: | http://bb.xnull.de/projects/mod_common_redirect/ |
| Source: | http://git.xnull.de/gitweb/?p=mod_common_redirect.git (also on github) |
| Download: | http://bb.xnull.de/projects/mod_common_redirect/dist/ |
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.