How To Enable/Disable HTTP Authentication?

In the context of an HTTP request, HTTP access authentication could be a methodology for an HTTP user agent to supply a user name and password once making request. It’s a method for imposing access controls to web resources as a result of it doesn’t need cookies, session identifier and login pages. No handshakes should to be performed in predication.

The choice was removed from the Tweak Settings, because the use of HTTP Authentication with cPanel/WHM is disabled . it had been disabled in cPanel/WHM 11.42 version.

You’ll be able to enable/disable HTTP Authentication by modifying /var/cpanel/cpanel.config, even though it’s been disabled from cPanel/WHM .
Following are the step by step process:

1. Login to WHM.
2. You will get WHM dashboard
3. On the left side click on the server configuration option.
4. And click on Terminal
5. You will get command-line access window
6. Now, to modify enable/disable HTTP authentication simply modify this file
vi /var/cpanel/cpanel.config and press enter.
7. Add this line skiphttpauth=1
8. By default, it is disabled so the value set to 1. If you wish to enable HTTP Authentication then set it to 0.
9. Type : wq to save changes.
10. Remember to restart WHM after making a change to this value.