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

Overview

The mod_proxy Apache module implements a proxy on your server. This module may be used as either a forward or reverse proxy. This module is required to provide support for VirtualHost proxies. You can also configure this module to connect to other proxy modules. 

Usage

This module implements a basic proxy for Apache. It implements proxy capability for AJP13 (Apache JServe Protocol version 1.3), FTPCONNECT (for SSL), HTTP/0.9HTTP/1.0, and HTTP/1.1.  To take full advantage of these capabilities, the mod_proxy Apache module must connect to other Apache proxy modules.  For example, to handle AJP, you would install the  mod_proxy_ajp Apache module.

Important:

Do not enable your server as a forward proxy unless you have secured your server. An open proxy server is dangerous to your network.

Requirements

This module has no requirements.

Compatibility

This module has no known compatibility issues.


Warning:


cPanel & WHM no longer develops EasyApache 3 and only releases security updates for it. We will deprecate EasyApache 3 on December 31, 2018. After that date, we will no longer update EasyApache 3. In cPanel & WHM version 78, we will remove support for EasyApache 3. For more information, read our cPanel Long-Term Support documentation.

We strongly recommend that you upgrade to EasyApache 4. For more information, read our EasyApache 4 documentation.

Featured documentation

  EasyApache 3

IntroductionFAQ

Change Log Release Notes  

ProfilesCustomization

Tomcat

Migrate from Tomcat 5.5 to 7

How to Deploy Java Applications

Important:

EasyApache 3 does not support Tomcat for new installations. EasyApache 4 does not support Tomcat and we do not plan to provide support in the future. 

How to install or uninstall mod_proxy

The following EasyApache profiles include the mod_proxy Apache module by default:

  • Basic
  • Mod Ruid2
  • MPM ITK

Note:

The Mod Ruid2 profile is only available if you do not use CloudLinux.

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

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

    Notes:

    • To access EasyApache from the command line interface, run the /scripts/easyapache script as the root user.
    • For more information on EasyApache, read our EasyApache documentation.
  2. Select the profile that you wish to modify.

  3. Click the  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_proxy Apache module, select the Proxy option.
    • To uninstall the mod_proxy Apache module, deselect the Proxy option.
  8. Click Save and Build.

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

The following table provides information about how EasyApache refers to the mod_proxy Apache module: 

EasyApache module namemod_proxy
EasyApache Profile EntryApache:optmods:Proxy

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

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

History

The following table provides information on changes to the mod_proxy Apache module within EasyApache, and content changes to this document:

DateEasyApache versionActionDetails
2/11/20143.24.11Doc updateImplemented case 73225: Remove Apache 1.3 and 2.0
1/31/20133.18.0Doc updateImplemented case 51105: Update for Apache 2.4
12/1/20113.7.2EA update

Implemented case 55082: Apache mod_proxy reverse proxy exposure vulnerability in Apache 2.0

10/28/20113.7.0EA update

Fixed case 53801: Apache mod_proxy reverse proxy exposure vulnerability in Apache 2.2

Related documentation

Vendor documentation

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

This module and related modules implement a proxy/gateway for Apache HTTP Server, which supports a number of popular protocols and several different load-balancing algorithms. Third-party modules can add support for additional protocols and load balancing algorithms.

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

Apache versionDocumentation
2.2Apache Module mod_proxy
2.4Apache Module mod_proxy