Knowledge Base Hub

Browse through our helpful how-to guides to get the fastest solutions to your technical issues.

Home  >  VPS FAQ  >  How To Enable/Disable HTTP Authentication?
Top Scroll

How To Enable/Disable HTTP Authentication?

 2 min

What is 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 : <strong>wq</strong> to save changes.
10. Remember to restart WHM after making a change to this value.

For our Knowledge Base visitors only
Get 10% OFF on Hosting
Special Offer!
Claim the discount before it’s too late. Use the coupon code:
Note: Copy the coupon code and apply it on checkout.