h5bp/html5-boilerplate — pull request #1257 by fhemberger (2012-11-16 07:03:54+00:00)
Title: Add compatibility note: "AddOutputFilterByType" is still a core module in Apache 2.2

See issue #1256.

This add at least a compatibility notice for Apache < 2.3.7.

There may be also two alternatives to improve this check further:
a) Check the `API_VERSION`of the httpd module ([docs](http://www.askapache.com/security/apache-httpd-module-api-versions.html)):

```
# API Version for first Apache 2.3.7 dev release

# AddOutputFilterByType …

```
While this is documented, it didn't work on my default Apache on OS X Snow Leopard (v.2.2.2).

b) Check the version number with mod_version:

```

# AddOutputFilterByType …

```
but I'm not sure if mod_version is normally installed on production environments.