Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


Exchange 2003 redirect http and https

Posted on 2011-05-12
Medium Priority
Last Modified: 2012-06-27
Need help with a redirect. I have followed kb839357 article with no luck. I have gone over it and over it, but still get a login when trying the redirect with http://servername/exchange. I try to log in and can't, I endup with a Access Denied error. Just a reminder that owa works just fine using https://servername/exchange, I just can't get the forward to work correctly.

Here is what I have for the owahttps.asp page:


If Request.ServerVariables("HTTPS")  = "off" Then
                                    Response.Redirect "https://" & Request.ServerVariables("HTTP_HOST") & "/Exchange"
End If


All the help I could would be great..
Question by:LeonardArellano
  • 4
  • 3

Expert Comment

ID: 35750107

Author Comment

ID: 35750253
I just complete that, which is the same instructions as what Microsoft recommends, with different name and a little different code. Once everything is complete I get a login window, which I can not log into. I try three times and show a message of access denied.

Expert Comment

ID: 35750266
Does the credentials work when you are only on HTTP?

Cross check the credentials of the ID you are using to login?
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.


Author Comment

ID: 35750391
If I go to https://mail.name.org/exchange, everything is fine. But when I go to http://mail.name.org/exchange it prompt me to login, I try three times and then errors with Access Denied.

If is almost like the CustomError Virutal is not accepting the enable anonymous access, which is where the owahttps.asp file is at. it is almost like the redirect takes place, but can not fully run becuase it is asking for permission. SHould I built in uername and password under the enabl Anonymous access?

Accepted Solution

ckeshav earned 2000 total points
ID: 35750408
Cross check the permissions on the folder where owahttps.asp is located

Author Comment

ID: 35750876
You are the man, Checked the permission on the folder and everyone had read, but on the file everyone did not have permission to read the file. Change the permission and everything is good to go.

One more thing, If you want me to open another question, so that you get the points I can...

The next problem I'm having is: I'm trying to redirect to the /exchange folder. On the default Website, on the Home Directory, I clicked "a redirection to a url: input in /exchange, but nothing happens. Any guess as to why...

Thank you for your help..

Expert Comment

ID: 35751695
The KB article 839357 you initially referred has the process for even this

If you want to modify the IIS Default Web Site so that clients can access the OWA logon page by typing only http://<server name> instead of typing http://<server name>/exchange, follow these steps.

Note Because there are several versions of Microsoft Windows, the following steps may be different on your computer. If they are, see your product documentation to complete these steps.

   Start the Microsoft Management Console (MMC) IIS snap-in.
   Right-click Default Web Site, click Properties, and then click the Home Directory tab.
   Under When connecting to this resource, the content should come from, click A redirection to a URL.
   In the Redirect to box, type /exchange.
   Under The client will be sent to, click A directory below this one.
   Stop and start the Default Web Site.


Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Question has a verified solution.

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

Steps to fix “Unable to mount database. (hr=0x80004005, ec=1108)”.
Among the most obnoxious of Exchange errors is error 1216 – Attached Database Mismatch error of the Jet Database Engine. When faced with this error, users may have to suffer from mailbox inaccessibility and in worst situations, permanent data loss.
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Suggested Courses

580 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