puppetlabs/puppetlabs-apache — pull request #652 by rchouinard (2014-02-27 15:44:49+00:00)
Title: Add support for mod_speling

This commit adds support for [mod_speling](http://httpd.apache.org/docs/2.2/mod/mod_speling.html). Speling is an Apache module which attempts to correct URLs that users might have entered by ignoring capitalization and by allowing up to one misspelling. The speling module is included in the vendor packages for both Debian and RHEL based distributions, so no extra packages are required to be installed for these platforms; I'm not sure about other distributions.

The module does have two boolean configuration options, documented in the Apache HTTP Server docs. The puppet class provided does not include support for these options. They are omitted simply because the use case seems similar to mod_xsendfile, the puppet class for which also omits its options.

This commit has been tested against my own needs on both Oracle Linux 6 and Debian 7 (Wheezy). Automated tests were not included because a) I am not familiar with the test format for puppet, and b) there are no tests for the xsendfile class on which the speling class is based.