Exchange Server Forums

Forums | Register | Login | My Profile | Inbox | RSS RSS icon | My Subscription | My Forums | Address Book | Member List | Search | FAQ | Ticket List | Log Out

OWA redirection to https problem

Users viewing this topic: none

Logged in as: Guest
  Printable Version
All Forums >> [Microsoft Exchange 2007] >> Outlook Web Access >> OWA redirection to https problem Page: [1]
Login
Message << Older Topic   Newer Topic >>
Limited time MSExchange.org offer! -- 1.Sep.2008 1:00:00 PM
TechGenix and SolarWinds have partnered to provide free copies of SolarWinds Exchange Monitor to all visitors who join the MSExchange.org Forums. SolarWinds Exchange Monitor is a handy desktop dashboard that continuously monitors Microsoft Exchange to deliver real-time insight into Exchange services, mail queue sizes, and host server health. Learn more about Exchange Monitor and the free offer!
OWA redirection to https problem - 14.Sep.2007 7:12:12 AM   
RogerAas

 

Posts: 4
Joined: 13.Sep.2005
Status: offline
I want to simplify the way my users log on to OWA by doing two things, remove the need to type in the /owa and redirect automatically to https. I have problems making the redirection to https work as I want.

I want my users to be able to type in "exchangeserver.mydomain.com" instead of "https://exchangeserver.mydomain.com/owa" when they want to log in to OWA.

I have followed the TechNet article "How to Simplify the Outlook Web Access URL" at http://technet.microsoft.com/en-us/library/aa998359.aspx but there is one drawback to that solution. IE has a default setting of showing its own error messages. That means it will not load the custom error message and then will not get redirected.

If you turn off this behaviour in IE it works as expected.

I can of course easily do that to domain computers through GPO but the point was that this should work from anywhere, also on computers not under our control. Since our domain computers use Outlook 2007 it is mainly those other computers that will need this working well.

Is there a way to configure this so it works without requiring the users to change this setting in Internet Explorer?

The offending registry setting is this one: HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\Friendly http errors=yes

- Roger
Post #: 1
RE: OWA redirection to https problem - 19.Sep.2007 10:45:29 PM   
jimthemcp

 

Posts: 43
Joined: 19.Sep.2007
Status: offline
Yes, you can accomplish what you want.  Copy the following into a file called owa-redirect.asp and save it under c:\inetpub\wwwroot\CustomErrors
<%
If Request.ServerVariables("HTTPS") = "off" Then
Response.Redirect "https://" & Request.ServerVariables("HTTP_HOST") & "/owa"
End If
%>

Then in IIS Manager ensure that your Default Web Site requires https, and modify the HTTP 403;4 error to use the URL /CustomErrors/owa-redirect.asp in the Custom Errors tab.  The last step is to modify the security tab for the CustomErrors folder in IIS Manager so that it does not require https.

(in reply to RogerAas)
Post #: 2
RE: OWA redirection to https problem - 20.Sep.2007 8:10:27 AM   
RogerAas

 

Posts: 4
Joined: 13.Sep.2005
Status: offline
Thanks, this worked.

I lost some time before I saw the word "URL" in your message. I used the "File" type for the Custom Errors setting just like on Technet, but that just displayed the asp-script in the browser, and not the result of the script. When I changed the type to URL it worked like it should.

- Roger

(in reply to jimthemcp)
Post #: 3
RE: OWA redirection to https problem - 22.May2008 2:49:37 PM   
marcuslayton

 

Posts: 9
Joined: 14.Jul.2004
From: Arizona
Status: offline
This also worked for me - txs for the post!

I may add that the windows security file permissions on the owa-redirect.asp must be readable to the user that is selected under 'authentication and access control' or you would recieve a 'Error: Access is Denied.' error.


(in reply to RogerAas)
Post #: 4
RE: OWA redirection to https problem - 23.May2008 7:44:41 PM   
skydive

 

Posts: 108
Joined: 18.Nov.2004
From: Canada
Status: offline
And to get rid of the use of the /owa switch, go to IIS on the default website's properties, under home directory and choose "Redirect to Folder" and check the box "A folder located under.." ( i can't remember exactly) and enter /owa in the path.
Restart IIS and you should be fine with entering www.yourdomain.com.

Cheers

< Message edited by skydive -- 23.May2008 7:46:05 PM >

(in reply to marcuslayton)
Post #: 5
RE: OWA redirection to https problem - 23.May2008 9:20:40 PM   
t0ta11ed

 

Posts: 274
Joined: 2.Feb.2007
From: Mars
Status: offline
Ive done this recently myself, and it works fine if you use http, but if I access the owa url using https, I get a blank page in both IE and Firefox. Anyone seen this before?

_____________________________

Invasion Plans - http://dev.marzopolis.com

(in reply to skydive)
Post #: 6
RE: OWA redirection to https problem - 24.May2008 5:00:22 PM   
skydive

 

Posts: 108
Joined: 18.Nov.2004
From: Canada
Status: offline
Have you changed the owa external/enternal URL in exchange to correspond to the /owa redirection you have in IIS?
The owa address in exchange in your case should be www.yourdomain.com and without the /owa.

(in reply to t0ta11ed)
Post #: 7
RE: OWA redirection to https problem - 25.May2008 1:25:04 PM   
t0ta11ed

 

Posts: 274
Joined: 2.Feb.2007
From: Mars
Status: offline
Actually, this was for Exch 2k3, read the thread and didn't realize it was in the 2007 secton. Sorry. 

_____________________________

Invasion Plans - http://dev.marzopolis.com

(in reply to skydive)
Post #: 8
RE: OWA redirection to https problem - 29.May2008 8:56:01 AM   
chickendog

 

Posts: 78
Joined: 26.Aug.2001
From: knoxville, tn, usa
Status: offline
Can some one help me fine the custome folders in IIS.  I need to edit the security to not require https and I can not figure out were this is.  Thanks.

(in reply to RogerAas)
Post #: 9

Page:   [1] << Older Topic    Newer Topic >>
All Forums >> [Microsoft Exchange 2007] >> Outlook Web Access >> OWA redirection to https problem Page: [1]
Jump to:

New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts