Knowledge Base
MilesWeb / VPS FAQ, Web Hosting FAQ

How To Enable/Disable HTTP Authentication?

Approx. read time : 3 min

Watch this video for a step by step process on how to enable/disable HTTP authentication

What is HTTP Authentication?

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

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.

Even though it has been disabled from cPanel/WHM, you can enable/disable HTTP Authentication by modifying /var/cpanel/cpanel.config.
Here is 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.

With over 10+ years of experience in the web hosting industry, I have achieved extensive exposure to result-oriented methodologies. And expertise in different domains like Datacentre Services, Cloud computing technology, Web hosting industry and many more.