Thursday, 12 December 2013

How to disable redirection to SSL while accessing WHM,cPanel,Webmail

If you want to disable redirection to SSL connection while accessing WHM, cPanel, Webmail, please follows these steps.

Login to WHM >> Tweak Setting >> Uncheck the following options under Redirection.


Always redirect to SSL: Off

Also you have to uncheck the following option under Security in Tweak Settings.


Require SSL: Off
------------------------------------------
Also you can disable those options from the shell.
SSH to the server as root.

You can do this by editing /var/cpanel/cpanel.config with your favorite shell text editor and changing the following entry: 
requiressl=1 
Change the "1" to a "0", and save the changes. 

You may also need to edit the following entry: 
alwaysredirecttossl=1 
If the value is a "1", change to a "0". 

Next, make sure to run the following command: 
# /usr/local/cpanel/whostmgr/bin/whostmgr2 --updatetweaksettings 
This command will put any changes made to the /var/cpanel/cpanel.config file into effect.

No comments:

Post a Comment