RE: A redirection to a URL in IIS 6



Andy,

As with most things there is more than one way to do this. This may also
work for you if you already have folks hitting on SSL (the reason I showed
you the other way is just as folks don't want to have to type /exchange they
usually forget the s for http

Open the IIS Manager
Open the properties for the default web site
Under the Home Directory Tab, do the following
Choose redirection to a url
Type /exchange in the text box
Check the "directory under this one" radio button
Click "apply", "OK", and exit the IIS manager.



"Andy" wrote:

default.htm
default.asp
index.htm
iisstart.htm
default.aspx

ditto for default web site





"Steve" wrote:

Gotcha.

Been a while for SBS but this should work fine. Are you using any other web
parts on this box?

Do this for me. Open up IIS and drill down to the EXCHANGE "folder" under
Default Web Site - right click on the properties and then click on the
DOCUMENTS tab - list what the content page entries are.
Do the same for DEFAULT Web Site

Where I'm going with this is you can just change the "document" that is
being called first. Most folks just customize this to do two things - point
folks to https and have the /exchange

You can find this code in a bunch of different sites but just create a file
(say iisstart.asp) and paste it in. Point your browser to use this document
first and you should be good to go.

<%
If Request.ServerVariables("SERVER_PORT")=80 Then
DIM strSecureURL
strSecureURL = "https://";
strSecureURL = strSecureURL & Request.ServerVariables("SERVER_NAME")
strSecureURL = strSecureURL & "/exchange"
Response.Redirect strSecureURL
End If
%>


"Andy" wrote:

The client has Exchange 2003, IIS6 on Windows 2003 Small Business Server.
To be more specific, the client does not want his employees to see the:
"Welcome to Windows Small Business Server 2003
To get started, click a link. bla bla bla....."
when they enter the URL http://mail.companyname.com
because that is linked to the c:inetpub\wwwroot.

I told the client just have them enter http://mail.companyname.com/exchange
and the https would kick in, as https is enabled on the firewall, and they
would be brought to the Exchange 2003 web based interface. Well, my client
was affraid that they would by mistake forget to enter the ending /exchange
once in a while. So that brought me to the IIS 6 redirect a URL option. My
problem is the Inheritance overrides and child nodes.





"Andy" wrote:

I have to right click the default web site in IIS 6 and use the "A
redirection to a URL" option on the Home Directory tab.
I want to change it from "A directory on this computer" Local Path:
c:\inetpub\wwwroot
to "A redirection to a URL" https://mail.companyname.com

The reason for this is that my client wants access to his Exchange mail from
a web browser using https://mail.companyname.com
instead of http://mail.companyname.com/exchange


When I click apply I get an Inheritance Overrides box that reads:
The following child nodes also define the value of the "UNCPassword"
property, which overrides the value you have just set. Please select from the
list below those nodes which should use the new value.
Child Nodes:
Exadmin
Exchange
exchange-oma
OMA
Public

Any advice on the above?




.