Page 1 of 1

secure webclient

Posted: Thu Aug 05, 2010 2:38 pm
by philipjlane
Hi, I'm pretty new to setting this sort of thing up.

I have the FTP server set up and running just fine on windows server 2003.

I have created a domain disabling HTTP but leaving HTTPS enabled I am wondering if there is a way for the webclient to redirect calls to the HTTP to the HTTPS address rather than the "under construction" page.

Thanks in advance.

Phil

Re: secure webclient

Posted: Thu Aug 05, 2010 3:34 pm
by FTP
If you are running Apache/IIS on your server, maybe you can set a url rewrite rule for redirecting.

Re: secure webclient

Posted: Thu Aug 05, 2010 3:37 pm
by FTP
Another method is:

Enable HTTP protocol, then modify the file "webclient/login.html", add the following javascript code on its top:

Code: Select all

<script>
if(location.href.indexOf('http://') != -1)
{
location = "https://yourIP/login.html";
}
</script>

Re: secure webclient

Posted: Mon Aug 16, 2010 4:04 pm
by philipjlane
Thanks very much, works perfectly!!

Re: secure webclient

Posted: Mon Mar 23, 2015 1:29 pm
by dsteinmann
Is this still working for anyone else?