how do you remove the prefix of https for owa

When users log into their owa or vpn through the web they have to type or for the vpn We want to have it set so that either way will work. With the https or without the https. ie typed into a browser we'd like to have working as well as it with the https.
Exchange 2007 standard
Platform is Server 2008 standard 64bit

Who is Participating?
bwinkworthConnect With a Mentor Author Commented:
I was able to work this out by editing the 403-Forbidden error and redirecting it to https://myserver/owa

I think creating a redirect would be a solution. Create a index file with: <meta http-equiv="refresh" content="3; URL=https:///....."> in the header.
Free tool for managing users' photos in Office 365

Easily upload multiple users’ photos to Office 365. Manage them with an intuitive GUI and use handy built-in cropping and resizing options. Link photos with users based on Azure AD attributes. Free tool!

Check below link if help you as same above but with GUI:
Brad HoweDevOps ManagerCommented:

Hi bwinkworth,
I love pushing URL Rewrite. You can use the URL rewrite feature. You can get the URL rewrite module from

Download the x86/x64 version for IIS 7.0 

Here is a great article on how to create 301 redirect rules. 

Example Rule for or redirect to

1. Install the IIS7 URL rewrite Module.
2. Go to IIS Manager
3. Select your “Web Site” on the left pane.
4. In the IIS Feature View, click on "URL Rewrite".
5.In the "Actions" pane on right hand side, click on "Add Rules..."
6. Create a Blank Rule, click OK.
7. Follow the details below.

NAME - Force HTTPS and redirect to /owa
   Requested URL: Matches the pattern                              Using:  Regular Expressions
   Pattern : (.*)                                                                     Ignore Case :  "Checked"
  Logical Grouping: MatchAny                          
          {HTTPS}      - Match the pattern - off
          {HTTP_HOST}  - Match the pattern - ^(vpn|mail)\.domain\.com$
  Action Type:  Redirect
  Redirect URL:
 Append query string:  "unchecked"
  Redirect Type:  Permanent (301)

Now your web site will respond as usual and only redirect the virtual root /abc to 

Let us know,
Cheers, Hades666
bwinkworthAuthor Commented:
 I followed the procedure in your article you provided and went to the 'http redirect' of the default website and entered '' and checked 'Only redirect requests to content in this directory (not subdirectories)' and set the status code to 'Found(302)' and then did an iisreset on the Exchange server. I noticed at the bottom of the procedure it states this:

"When you configure redirection from a top-level directory in Windows Server 2008, the settings are propagated to lower-level directories. For example, when you configure redirection to the /owa virtual directory as shown in the previous procedures, the settings that you configured on the Default Web Site also appear on the HTTP Redirect page of all the virtual directories, such as /Autodiscover, /Exchange, and /Public. Therefore, you must remove redirection from all the virtual directories except the one that you want redirected."

Do I need to do this to all my subdirectories except the owa one? Will this mess things up for anything else? Can't I just do the procedure on the 'owa' subdirectory instead of on 'Default Website' Here's a screen shot of my subs...

bwinkworthAuthor Commented:
Or did that not make sense?

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.