Knowledgebase

Enable/Disable HTTP Authentication

What is HTTP Authentication ?

HTTP provides a general framework for access control and authentication. The most common HTTP authentication scheme is the "Basic" authentication. Whenever an HTTP Basic Authentication filter is configured, the Enterprise Gateway requests the client to present a username and password combination as part of the HTTP Basic challenge-response mechanism. With HTTP Basic Authentication, the client's username and password are concatenated, base64-encoded, and passed in the Authorization HTTP header as follows:

Authorization: Basic dm9yZGVsOnZvcmRlbA==

Even though it has been disabled from cPanel/WHM, you can enable/disable HTTP Authentication by modifying /var/cpanel/cpanel.config. Add the line below

skiphttpauth=1

Perform the following:

set 1, to disable
set 0, to enable

Restart cPanel once you save this file.

 

  • HTTP Authentication, Disable HTTP Authentication, Enable/Disable HTTP Authentication, Enable HTTP Authentication
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

System Requirements

Most current web servers with PHP & MySQL installed will be capable of running WHMCS. The...

Common logs file paths

Log files are helpful in troubleshooting issues and in monitoring the performance of cPanel...

Disable ModSecurity in cPanel

What is ModSecurity?Mod_security is an apache module that helps to protect your website from...

How to disable directory listing in cpanel?

Disable directory listing in cpanelIndex Manger in cPanelThe Index Manager allows you to...

How to disable the listing in a non-cPanel CentOS server?

How to disable the listing in a non-cPanel CentOS server?1. Locate your httpd.conf file. Normally...