secure webclient

Please post here if you have problems in using Wing FTP Server.

secure webclient

Postby philipjlane » Thu Aug 05, 2010 2:38 pm

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
philipjlane
 
posts 12
 
joined Thu Aug 05, 2010 2:31 pm

Re: secure webclient

Postby FTP » Thu Aug 05, 2010 3:34 pm

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

Re: secure webclient

Postby FTP » Thu Aug 05, 2010 3:37 pm

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>
FTP
Site Admin
 
posts 1220
 
joined Tue Sep 29, 2009 6:09 am

Re: secure webclient

Postby philipjlane » Mon Aug 16, 2010 4:04 pm

Thanks very much, works perfectly!!
philipjlane
 
posts 12
 
joined Thu Aug 05, 2010 2:31 pm


Return to Support

Who is online

Users browsing this forum: Yahoo [Bot] and 2 guests