Solved

exchange 2010 sp1 OWA redirect to SSL question

Posted on 2011-09-18
5
612 Views
Last Modified: 2012-05-12
hello, we are using this method to redirect http://mail.mydomain.com to https://mail.mydomain.com/owa 
code saved below as default.htm and placed in inetpub / wwwroot folder
however we've noticed that users can still type: http://mail.mydomain.com/owa and connect on an unsecure channel. how can we modify this to catch http://mai.mydomain.com/.... requests and redirect to ssl
<html> 
<head runat="server"> 
<title>Outlook Web Access</title> 
<script language="javascript" type="text/javascript"> 
function redirect() 
{ 
    var URL; 
    var Protocol; 
    var Path; 
    // this will be whatever is in the browser. If you need to change this then comment out relevant line below 
    // Protocol = window.location.protocol + "//" 
    // Protocol = "http://" 
    Protocol = "https://" 
    Path = window.location.hostname + window.location.pathname + "owa" 
    window.location.href = Protocol + Path 
} 
</script> 
</head> 
<body onload="redirect()"> 
</body> 
</html>

Open in new window

0
Comment
Question by:siber1
  • 2
  • 2
5 Comments
 
LVL 4

Accepted Solution

by:
AmonPereira earned 500 total points
ID: 36558151
Hey,

Follow instructions from link below, it worked for me.

http://www.ucblogs.net/blogs/exchange/archive/2010/04/28/Redirecting-the-root-web-site-to-_2F00_owa-and-forcing-SSL-in-Exchange-2010.aspx

Let me know if it helped you.
0
 

Author Comment

by:siber1
ID: 36558194
thx. thats a good option. is there a way to set the redirect on the hdw load balancer for all virtual directories, rather than use this script to modify the IIS settings?
0
 
LVL 49

Expert Comment

by:Akhater
ID: 36558619
that code will catch both http and https the issue is that on your default website you have the require ssl checkbox checked
0
 
LVL 49

Expert Comment

by:Akhater
ID: 36558621
as far as your hardware load balancer is concerned you need to check the documentation of the brand/model you have but yes you should be able to do that
0
 

Author Closing Comment

by:siber1
ID: 36563913
thx again!
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How to specify rdns for multi-homed mail server 5 38
powershell script SMTP report 6 36
TLS/SSL Diable 3DES ciper suites 4 27
powershell question need assistance 10 27
Utilizing an array to gracefully append to a list of EmailAddresses
MS Outlook is a world-class email client application that is mainly used for e-communication globally.  In this article, we will discuss the basic idea about MS Outlook, its advanced features, and types of MS Outlook File formats.
In this video we show how to create an Address List in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Organization >> Ad…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question