Solved

exchange 2010 sp1 OWA redirect to SSL question

Posted on 2011-09-18
5
616 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
As cyber crime continues to grow in both numbers and sophistication, a troubling trend of optimization has emerged over the last year.
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 demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…

751 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