cPanel & WHM no longer develops or updates EasyApache 3. We deprecated EasyApache 3 on December 31, 2018. We removed support for EasyApache 3 in cPanel & WHM version 78.
Apache Module: ExtFilter - EasyApache - cPanel Documentation
Page tree
Skip to end of metadata
Go to start of metadata

Overview

The mod_ext_filter Apache module provides a programming model for Apache filters.

Usage

Enable the mod_ext_filter Apache module to enable the use of external scripts to direct Apache to handle input. You can use any language that supports the stdin and stdout standard data handling methods.

How to install or uninstall mod_ext_filter

The EasyApache profiles do not provide the mod_ext_filter Apache module by default.

To install or uninstall the mod_ext_filter Apache module, perform the following steps:

  1. Run EasyApache in WHM's EasyApache 3 interface (Home >> Software >> EasyApache 3).

    Note:

    To access EasyApache from the command line interface, run the /scripts/easyapache script as the root user.

  2. Select the profile that you wish to modify.

  3. Click the  icon that corresponds to your selection.

  4. Click Next Step in the Apache Version stage.
  5. Click Next Step in the PHP Version stage.
  6. Click Exhaustive Options List in the Short Options List stage.
  7. Perform one of the following actions in the Exhaustive Options List stage:
    • To install the mod_ext_filter Apache module, select the ExtFilter option.

      Note:

      If you enable this option, EasyApache will add --enable-ext-filter to Apache's build options.

    • To uninstall the mod_ext_filter Apache module, deselect the ExtFilter option.
  8. Click Save and Build.

How to enable or disable the module in a custom EasyApache profile file

The following table contains the module information that EasyApache stores in the profile file for the module:

EasyApache module nameExtFilter
EasyApache Profile EntryApache : optmods : ExtFilter

To enable or disable the mod_ext_filter Apache module in a custom EasyApache profile file, set the mod_ext_filter profile entry to one of the following values:

  • 1 - This value enables the module.
  • 0 - This value disables the module.

Requirements

This module has no requirements.

Compatibility

This module has no known compatibility issues.

History

DateEasyApache versionActionDetails
2/11/20143.24.11Doc UpdateRemoved Apache 1.3 and 2.0
1/31/20133.18.0Doc updateAdded information for Apache 2.4

Related documentation

For more information on EasyApache, read our EasyApache documentation.

Vendor documentation

The following text is an excerpt from the Apache.org website:

mod_ext_filter presents a simple and familiar programming model for filters. With this module, a program which reads from stdin and writes to stdout (i.e., a Unix-style filter command) can be a filter for Apache. This filtering mechanism is much slower than using a filter which is specially written for the Apache API and runs inside of the Apache server process, but it does have the following benefits:

  • the programming model is much simpler
  • any programming/scripting language can be used, provided that it allows the program to read from standard input and write to standard output
  • existing programs can be used unmodified as Apache filters

Even when the performance characteristics are not suitable for production use, mod_ext_filter can be used as a prototype environment for filters.

For more information on the mod_ext_filter Apache module, click the following links: