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
secure webclient
-
- Site Admin
- Posts: 2083
- Joined: Tue Sep 29, 2009 6:09 am
Re: secure webclient
If you are running Apache/IIS on your server, maybe you can set a url rewrite rule for redirecting.
-
- Site Admin
- Posts: 2083
- Joined: Tue Sep 29, 2009 6:09 am
Re: secure webclient
Another method is:
Enable HTTP protocol, then modify the file "webclient/login.html", add the following javascript code on its top:
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>
-
- Posts: 12
- Joined: Thu Aug 05, 2010 2:31 pm
Re: secure webclient
Thanks very much, works perfectly!!
-
- Posts: 5
- Joined: Thu Apr 21, 2011 7:41 pm
Re: secure webclient
Is this still working for anyone else?