How to Disable Mandatory SSL (Web Login to WHL)

You can do this by editing /var/cpanel/cpanel.config with your favorite shell text editor and changing the following entry:

Code:
requiressl=1
Change the "1" to a "0", and save the changes. You may also need to edit the following entry:

Code:
alwaysredirecttossl=1
If the value is a "1", change to a "0". Next, make sure to run the following command:

Code:
# /usr/local/cpanel/whostmgr/bin/whostmgr2 --updatetweaksettings
This command will put any changes made to the /var/cpanel/cpanel.config file into effect.

The above settings in /var/cpanel/cpanel.config correspond to the following settings in the WebHost Manager in Main >> Server Configuration >> Tweak Settings:

  • Always redirect to SSL
  • Require SSL
  • 0 會員發現這個文章很有用
此答案有用嗎?

相關文章

利用netstat 指令查詢主機是否受到DDoS連線攻擊

using the bellow command #netstat -an | grep -o...

Locations of Common Log Files on cPanel Servers

One of the nice things about cPanel based servers is the way that they keep the location of key...

Installation of Linux Malware Detect or maldet

Linux Malware Detect (LMD) is a malware scanner for Linux released under the GNU GPLv2 license,...

Check access_log by a domain.

Type the command in ssh.# cat access_log |grep yourdomain.com You will get the results.  

Disable Dangerous Functions in PHP

What to Do Disable unused dangerous functions by configuring PHP. Verify that if dangerous...