473,246 Members | 1,429 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,246 software developers and data experts.

Configuring OWA 2003 FE server on IIS 6.0 for auto-redirect?

I now realize I probably should have tried posting this on the IIS board
first..

I am running OWA 2003 Server as Front End server to my Exchange 2000 native
domain. The FE server is secured by a 128 bit SSL cert. The OWA 2003
server is running on Windows 2003 server in a Windows 2003 native AD domain.

At present, the server is configured so that user's have to specifically go
to the URL httpS://myserver.company.com in order to access OWA securely.
The FE server then automatically redirects the user to the /Exchange
subdirectory allowing for access to their backend mailbox.

However, I would prefer to be able to have users be able to simply go to
httP://myserver.company.com and have the FE server automatically redirect
them to the httpS://myserver.company.com URL, instead of forcing them to
make sure they're using httpS from the get go.

However, attempting to make this change at the root level of the web server,
automatically propagates the redirect changes all the way down to the
/exchange subdirectory, creating an infinite loop.

What do I need to change on the FE server's IIS configuration to allow this
auto-redirect to happen?
Jul 19 '05 #1
2 7751
If you want to redirect requests to httP://myserver.company.com *only* (ie
not other URLs like httP://myserver.company.com/someDocument.htm) then I
would:

a) create a default document (eg default.asp or default.aspx) and place it
into the root of your server.
b) please the following ASP code in the default.asp page:

<% @Language=VBScript EnableSessionState=False%>
<%
Response.Redirect("https://myserver.myCompany.com/exchange/")
%>
If you want to redirect *all* requests to any URL (except, obviously within
the /exchange folder itself) that are http://, then:
I would create a custom 403.4 error handler (for SSL required). This would
contain similar code to the one above that would redirect requests to the
/exchange/ folder. You would then "require" SSL for the server in question
(in the directory security tab of the IIS MMC Snapin), but remove SSL
requirement for the error handler page.
This article outlines the steps:
http://support.microsoft.com/?kbid=279681
However, it doesn't work for IIS6 unless you place the error handler page in
the same web app pool as the location the error is being generated in.

Cheers
Ken

"Robert Gordon" <Ro***********@nospam.perlegen.com> wrote in message
news:uw**************@TK2MSFTNGP10.phx.gbl...
: I now realize I probably should have tried posting this on the IIS board
: first..
:
: I am running OWA 2003 Server as Front End server to my Exchange 2000
native
: domain. The FE server is secured by a 128 bit SSL cert. The OWA 2003
: server is running on Windows 2003 server in a Windows 2003 native AD
domain.
:
: At present, the server is configured so that user's have to specifically
go
: to the URL httpS://myserver.company.com in order to access OWA securely.
: The FE server then automatically redirects the user to the /Exchange
: subdirectory allowing for access to their backend mailbox.
:
: However, I would prefer to be able to have users be able to simply go to
: httP://myserver.company.com and have the FE server automatically redirect
: them to the httpS://myserver.company.com URL, instead of forcing them to
: make sure they're using httpS from the get go.
:
: However, attempting to make this change at the root level of the web
server,
: automatically propagates the redirect changes all the way down to the
: /exchange subdirectory, creating an infinite loop.
:
: What do I need to change on the FE server's IIS configuration to allow
this
: auto-redirect to happen?
:
:
Jul 19 '05 #2
How do you place the error handler page in the same web app pool

Thanks
Lloy

----- Ken Schaefer wrote: ----

If you want to redirect requests to httP://myserver.company.com *only* (i
not other URLs like httP://myserver.company.com/someDocument.htm) then
would

a) create a default document (eg default.asp or default.aspx) and place i
into the root of your server
b) please the following ASP code in the default.asp page

<% @Language=VBScript EnableSessionState=False%><
Response.Redirect("https://myserver.myCompany.com/exchange/"
%
If you want to redirect *all* requests to any URL (except, obviously withi
the /exchange folder itself) that are http://, then
I would create a custom 403.4 error handler (for SSL required). This woul
contain similar code to the one above that would redirect requests to th
/exchange/ folder. You would then "require" SSL for the server in questio
(in the directory security tab of the IIS MMC Snapin), but remove SS
requirement for the error handler page
This article outlines the steps
http://support.microsoft.com/?kbid=27968
However, it doesn't work for IIS6 unless you place the error handler page i
the same web app pool as the location the error is being generated in

Cheer
Ke

"Robert Gordon" <Ro***********@nospam.perlegen.com> wrote in messag
news:uw**************@TK2MSFTNGP10.phx.gbl..
: I now realize I probably should have tried posting this on the IIS boar
: first.

: I am running OWA 2003 Server as Front End server to my Exchange 200
nativ
: domain. The FE server is secured by a 128 bit SSL cert. The OWA 200
: server is running on Windows 2003 server in a Windows 2003 native A
domain

: At present, the server is configured so that user's have to specificall
g
: to the URL httpS://myserver.company.com in order to access OWA securely
: The FE server then automatically redirects the user to the /Exchang
: subdirectory allowing for access to their backend mailbox

: However, I would prefer to be able to have users be able to simply go t
: httP://myserver.company.com and have the FE server automatically redirec
: them to the httpS://myserver.company.com URL, instead of forcing them t
: make sure they're using httpS from the get go

: However, attempting to make this change at the root level of the we
server
: automatically propagates the redirect changes all the way down to th
: /exchange subdirectory, creating an infinite loop

: What do I need to change on the FE server's IIS configuration to allo
thi
: auto-redirect to happen

Jul 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Carlos G Benevides | last post by:
I have a ASP.Net web application that has two assemblies that run under com+. Under Windows 2000 the two assemblies are added to com+ automatically when instantiated from the web site. For this...
26
by: Dragon | last post by:
I have an Access 2003 .mde sitting on an SQL Server. The tables for the application also sit on the Server. I'm having a problem with ODBC on only one of about 10 machines. All the other machines...
0
by: SWu | last post by:
Hi all Could someone please tell me how to configure and deploy my Crystal reports? Any help would be greatly appreciated. I want to be able to deploy my reports/web pages to another domain,...
1
by: pmclinn | last post by:
I finally got dedicated hosting for my website. Does anyone have links to configuring IIS properly?
17
by: Mell via AccessMonster.com | last post by:
Is there a way to find out where an application was created from? i.e. - work or home i.e. - if application sits on a (work) server/network, the IT people know the application is sitting...
5
by: NonNB | last post by:
Apols for the post here, but there is no public.inetserver.cassini Is there a way to configure the cassini / ASP NET Development web server: 1) So that the port can be pegged (seems to be...
1
by: GAZ | last post by:
I would be very grateful if someone could point me in the direction of a step-by-step instructions for configuring IIS6 for web development with Visual Studio 2005. God knows I tried everything...
1
by: rada.lambretha | last post by:
Configuring Linux as a Firewall * Making installation choices * Introducing iptables * Using iptables commands * Simplifying things with firewall GUIs * Adding proxy functionality As...
1
by: ZackariyaYoosuf | last post by:
Hi, I am using vb.net 2003 and sql server 2005.I am getting error when configuring data adapter.It is not creating INSERT,DELETE and UPDATE commands.It creats SELECT command. When connecting with...
3
by: =?Utf-8?B?TWFyYw==?= | last post by:
I am using VB 2005 to get the printers that have been installed on a Windows Server 2003 R2 box. I would like to write these printers into a table in SQL Server. The problem is when I run the code...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: marcoviolo | last post by:
Dear all, I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.