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: CharsetLite - EasyApache - cPanel Documentation
Page tree
Skip to end of metadata
Go to start of metadata

Overview

The Apache web server can translate the headers of HTTP responses, but it can not translate the body of HTTP responses by default. The mod_charset_lite Apache module provides the functionality for the Apache web server to translate the body of HTTP responses.  

Usage

Use and configure the mod_charset_lite Apache module to direct Apache to translate the HTTP response body.

How to install or uninstall mod_charset_lite

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

To install or uninstall the mod_charset_lite 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_charset_lite Apache module, select the CharsetLite option.

      Note:

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

    • To uninstall the mod_charset_lite Apache module, deselect the CharsetLite option.
  8. Click Save and Build.

After you build the mod_charset_lite Apache module with EasyApache, you must configure the module. For more information on how to configure the mod_charset_lite Apache module, click the following links:

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

EasyApache stores the options that you select in a profile file. The following table contains the EasyApache profile information for the mod_charset_lite Apache module:

EasyApache module name

CharsetLite

EasyApache Profile EntryApache: optmods: CharsetLite

To enable or disable the mod_charset_lite Apache module in a custom EasyApache profile file, set the Apache: optmods: CharsetLite 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 updateImplemented case 73225: Removed Apache 1.3 and 2.0
1/31/20133.18.0Doc updateImplemented case 51105: Update 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 website:

mod_charset_lite allows the server to change the character set of responses before sending them to the client. In an EBCDIC environment, Apache always translates HTTP protocol content (e.g. response headers) from the code page of the Apache process locale to ISO-8859-1, but not the body of responses. In any environment, mod_charset_lite can be used to specify that response bodies should be translated. For example, if files are stored in EBCDIC, then mod_charset_lite can translate them to ISO-8859-1 before sending them to the client.

This module provides a small subset of configuration mechanisms implemented by Russian Apache and its associated mod_charset.

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