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


The mod_authn_default Apache module is the default authentication module for Apache version 2.2. If you do not configure an authentication module, such as mod_auth_basic, the mod_authn_default Apache module directs Apache to reject any credentials that the user supplies.

How to install or uninstall mod_authn_default

Module status in default profiles

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

  • Basic
  • Mod Ruid2


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

Featured documentation

  EasyApache 3


Change Log Release Notes  



Migrate from Tomcat 5.5 to 7

How to Deploy Java Applications


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.

Installation steps


If you select Apache version 2.2 in EasyApache, EasyApache enables the mod_authn_default Apache module by default.

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

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


    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. Select Apache 2.2 in the Apache Version stage of the EasyApache 3 interface.


    If you select Apache 2.4, you cannot use the mod_authn_default Apache module.

  5. Click Next Step in the Apache Version stage.
  6. Click Next Step in the PHP Version stage.
  7. Click Exhaustive Options List in the Short Options List stage.
  8. Perform one of the following actions in the Exhaustive Options List stage.

    • To install the mod_authn_default Apache module, select the AuthnDefault option.
    • To uninstall the mod_authn_default Apache module, deselect the AuthnDefault option.
  9. 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 nameAuthnDefault
EasyApache Profile EntryApache : optmods : AuthnDefault

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

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


This is the reverse of a standard Boolean.


The mod_authn_default Apache module requires Apache version 2.2.


This module has no known compatibility issues.


DateEasyApache versionActionDetails
2/11/20143.24.11Doc updateRemoved Apache 1.3 and 2.0
1/31/20133.18.0Doc updateUpdate 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 website:

This module is designed to be the fallback module, if you don't have configured an authentication module like mod_auth_basic. It simply rejects any credentials supplied by the user.

For more information on the mod_authn_default Apache module, click the following link:

Apache version
2.2Apache Module mod_authn_default