Solved

exchange 2010 sp1 OWA redirect to SSL question

Posted on 2011-09-18
5
608 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
thx again!
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Find out how to use Active Directory data for email signature management in Microsoft Exchange and Office 365.
Learn to move / copy / export exchange contacts to iPhone without using any software. Also see the issues in configuration of exchange with iPhone to migrate contacts.
In this video we show how to create a Resource Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: Navigate to the Recipients >> Resources tab.: "Recipients" is our default selection …
This video discusses moving either the default database or any database to a new volume.

728 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now