I want to force all resellers and their customers to use SSL login to /whm and /cpanel (ie. non-SSL login not allowed).
Is there any way to redirect an ordinary login (non-SSL) to become a secure login for both?
eg.
http://www.reseller.com/whm redirects to
https://www.reseller.com:2087 automatically
- and -
http://www.customer.com/cpanel redirects to
https://www.customer.com:2083 automatically
If above is possible, what scripts would I have to create for both resellers and their customers and where would they reside?
I'm thinking it would be similar to the following, which was created to force all non-SSL webmail logins to default to an SSL login:
1) I created a folder called swebmail inside the www folder of a customer account.
2) Created an empty file called index.php
3) Added the following four lines to this file
<?PHP
header("location https://customer.com:2096");
exit;
?>
This forced all www.domain.com/webmail logins to SSL login.
I don't want to lose the 'forced' SSL login to webmail when implementing SSL login to /whm and /cpanel.



LinkBack URL
About LinkBacks
Reply With Quote




