Solved

exchange 2010 sp1 OWA redirect to SSL question

Posted on 2011-09-18
5
617 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

Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

Question has a verified solution.

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

As cyber crime continues to grow in both numbers and sophistication, a troubling trend of optimization has emerged over the last year.
This article outlines some of the reasons why an email message gets flagged as spam on a recipient's end.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
Suggested Courses
Course of the Month8 days, 13 hours left to enroll

615 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