Edit the following file:
Change the RedirectSite() funtion, and replace the line stating:
change it to WO.location=”yourwebsitedomainname” by pressing the insert key first
use the command escape followed by “:x” to save it.
Then use the following command to copy it locally:
cp /root/kerbynet.cgi/template/cp_clientctrl /Database/cp_clientctrl
Keep in mind that the directory /root/ is stored in a RAM disk. To do your changes permanent, you just have to save the file in the /Database directory and add in the /etc/rc.local a cp which copies the file in the original position after any reboot.
You will need to use a copy command, that can override the file in Ram disk. I do not know what the syntax would be, and do not even know if it will execute it when rebooting.
After editing the file, you can test it immediately. FIRST CLOSE ALL BROWSERSSSIONS.
You should be able to log in, and then get redirected to your hardcoded website address.
Let me know if someone knows the correct cp command that will work in /etc/rc.local !