secure webclient

Please post here if you have problems in using Wing FTP Server.
Post Reply
philipjlane
Posts: 12
Joined: Thu Aug 05, 2010 2:31 pm

secure webclient

Post 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
FTP
Site Admin
Posts: 2072
Joined: Tue Sep 29, 2009 6:09 am

Re: secure webclient

Post by FTP »

If you are running Apache/IIS on your server, maybe you can set a url rewrite rule for redirecting.
FTP
Site Admin
Posts: 2072
Joined: Tue Sep 29, 2009 6:09 am

Re: secure webclient

Post 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>
philipjlane
Posts: 12
Joined: Thu Aug 05, 2010 2:31 pm

Re: secure webclient

Post by philipjlane »

Thanks very much, works perfectly!!
dsteinmann
Posts: 5
Joined: Thu Apr 21, 2011 7:41 pm

Re: secure webclient

Post by dsteinmann »

Is this still working for anyone else?
Post Reply