How can we help?

Table of Contents

HTTP Basic Authentication Not Working

HTTP access authentication is a method for an HTTP user agent to provide a username and password when making a request. It is a technique for enforcing access controls to web resources because it doesn’t require cookies, session identifiers, and login pages. No handshakes should be performed in prediction.

The use of HTTP Authentication with cPanel/WHM is disabled; therefore, the option was removed from the Tweak Settings. It was disabled in cPanel/WHM 11.42 version.

If you are not comfortable with tweaking cPanel settings by yourself, we highly suggest contacting your host support and asking them to do this for you.

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

Setting it to 1 means it has been disabled.
Setting it to 0 means it has been enabled.

After enabling HTTP Authentication & a pop-up will occur.

Restart cPanel once you save this file.
Still Have a Questions?
Search for additional solutions in the MainWP Community or start your own discussion