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

Overview

mod_asis is an Apache module that enables the send-as-is HTTP handler. The send-as-is HTTP handler directs Apache to add only the minimal headers to a file.

Usage

Use this module to send files that contain their own HTTP headers.

Warning:

Any file that Apache sends with the send-as-is handler must have valid HTTP headers.


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 new installations of Tomcat.

As of cPanel & WHM version 76, EasyApache 4 now supports Tomcat 8.5. For more information, read our Tomcat documentation.

Requirements

This module has no requirements.

Compatibility

This module has no known compatibility issues.

How to install or uninstall mod_asis

Module status in default profiles

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

  • Basic
  • Mod Ruid2
  • MPM ITK

Note:

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

Installation steps

If you do not select one of the EasyApache profiles, perform the following steps to install or uninstall the mod_asis Apache module:

  1. Navigate to 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 of the EasyApache 3 interface.
  5. Click Next Step in the PHP Version stage of the EasyApache 3 interface.
  6. Click Exhaustive Options List in the Short Options List stage of the EasyApache 3 interface.
  7. Perform one of the following actions in the Exhaustive Options List stage of the EasyApache 3 interface:
    • To install the mod_Asis Apache module, select the Asis option.
    • To uninstall the mod_Asis Apache module, deselect the Asis option.
  8. Click Save and Build at the bottom of the Exhaustive Options List interface.

For more information on how to use the send-as-is HTTP handler, view Apache's Apache Module mod_asis documentation.

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 name Asis
EasyApache profile entry Apache : optmods : Asis

To enable or disable the mod_asis Apache module in a custom EasyApache profile file, set the Apache : optmods : Asis profile entry to the appropriate value in the following table:

 Apache 2.2Apache 2.4

Value to enable mod_asis

01
Value to disable mod_asis10

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, view our EasyApache documentation.

Vendor documentation 

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

This module provides the handler send-as-is which causes Apache to send the document without adding most of the usual HTTP headers.
This can be used to send any kind of data from the server, including redirects and other special HTTP responses, without requiring a cgi-script or an nph script.
For historical reasons, this module will also process any file with the mime type httpd/send-as-is.

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

Apache versionDocumentation
2.2Apache Module mod_asis
2.4Apache Module mod_asis