Our features site is undergoing a refresh! Be sure to explore the revamped site and discover our latest product roadmap launching here on Monday, March 18th.

Login Page Hooks

Keith Poole (Agilis IT) shared this idea 8 years ago
Open Discussion

We would like to redirect https://customerdomain.tld:2083 to https://serverfqdn.tld:2083 for logging and security reasons (eg: cphulkd issue as per previous feature req raised). The issue here is that after liaising with cPanel L3 support, there is no way to currently do this.


If there was a JS or PHP hook that a plugin could use, we could very easily implement something like (pseudo)


IF $HTTP_HOST != GETHOSTNAME()

HEADER(301, GETHOSTNAME() + HTTP_PORT)


Thanks

Leave a Comment
 
Attach a file