I have few admins that are allowed root access to my client servers. Some of them are idiots and connect with http://site:2086.
Is there a way to disable this port and force connection to https://site:2087 ?
Thanks
P.s. not with firewall rules.
I have few admins that are allowed root access to my client servers. Some of them are idiots and connect with http://site:2086.
Is there a way to disable this port and force connection to https://site:2087 ?
Thanks
P.s. not with firewall rules.
You can disable that port with a firewall. Then they couldn't use it. I don't know how to redirect, but if they know about 2087 then they can figure it out. Also, they can doOriginally posted by uadm
I have few admins that are allowed root access to my client servers. Some of them are idiots and connect with http://site:2086.
Is there a way to disable this port and force connection to https://site:2087 ?
Thanks
P.s. not with firewall rules.
http://domain.com/securewhm and that will redirect to https://domain.com:2087
cPanel.net Support Ticket Number:
Last edited by casey; 08-16-2003 at 04:55 AM.
Thanks for the idea. However, I'm not looking for workarounds. I have a situation that needs to be addressed directly.
I absolutely not understand how Cpanel came up with this genius of idea.. Exactly like enabling telnet on the server and login as root.
cPanel.net Support Ticket Number:
its pretty simple.
cd /usr/local/cpanel/base/
mv whmredirect.cgi whmredirect.cgi.bak
ln -s whmredirect.cgi swhmredirect.cgi
you could use this with redirect.cgi and sredirect.cgi for cpanel.
You can modify httpd.conf and change whm alias if you prefer
cPanel.net Support Ticket Number:
You can also edit whmredirect.cgi and let it point to the secure port and add an "s" behind http etc..Originally posted by hormigo
its pretty simple.
cd /usr/local/cpanel/base/
mv whmredirect.cgi whmredirect.cgi.bak
ln -s whmredirect.cgi swhmredirect.cgi
you could use this with redirect.cgi and sredirect.cgi for cpanel.
You can modify httpd.conf and change whm alias if you prefer
cPanel.net Support Ticket Number:
But does cpanel updates cause problems to this? And how about httpd.conf?
cPanel.net Support Ticket Number: