Page tree
Skip to end of metadata
Go to start of metadata

Overview

The mod_cpanel Apache module replaces the Optimize .htaccess (AllowOverride) feature that existed in the Global Configuration section of WHM's Apache Configuration interface (WHM >> Home >> Service Configuration >> Apache Configuration). We removed the Optimize .htaccess feature with the release of TSR-2018-0002. This module also redirects any requests sent to a suspended user's files.

Usage

Use the mod_cpanel Apache module to improve how Apache processes requests. This module caches requests for .htaccess files that do not exist, which allows Apache to skip these files when it processes later requests. 

Requirements

This module requires EasyApache 4 and Apache 2.4 or later.  

Compatibility

This module has no known compatibility issues.

How to install or uninstall mod_cpanel

In the interface

You can install or uninstall the mod_cpanel Apache module in WHM's EasyApache 4 interface (WHM >> Home >> Software >> EasyApache 4). 

On the command line

To install the  mod_cpanel Apache module in EasyApache 4, run the following command on the command line:

yum install ea-apache24-mod_cpanel

To uninstall the mod_cpanel Apache module in EasyApache 4, run the following command on the command line:

yum remove ea-apache24-mod_cpanel

Additional documentation