Win7 With no IIS Installed Redirect to HTTPS?
-
- Posts: 5
- Joined: Thu Apr 21, 2011 7:41 pm
Win7 With no IIS Installed Redirect to HTTPS?
I Have WingFTP installed on a win7 machine. But it doesnt look like IIS is intalled so im not sure how Wing is hosting the files but My problem is I Only want to use HTTPS so How Can i redirect my Http request to HTTPS I Know how this is done in IIS???
-
- Site Admin
- Posts: 2087
- Joined: Tue Sep 29, 2009 6:09 am
Re: Win7 With no IIS Installed Redirect to HTTPS?
You can check out this article: http://www.sslshopper.com/iis7-redirect-http-to-https.html
BTW, there is an another easy solution for your requirement, you just need to add the following javascript into the head of the html file "webclient/login.html":
BTW, there is an another easy solution for your requirement, you just need to add the following javascript into the head of the html file "webclient/login.html":
Code: Select all
<script>
if(location.href.indexOf('http://') != -1)
{
location = "https://YourServerIP/login.html";
}
</script>