RE: A redirection to a URL in IIS 6

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Okay, easy enought (you have the defaults). So we just need to create a
simple .asp file.

Drill to C:\inetpub\wwwroot and create a new file from notepad. Add the
code I listed earlier and save the file. Rename the file iisstart.asp

In IIS at the Default Web Site click on the Documents tab and add the file
we just created. Use the up arrow to move it to the top of the list (so its
read first). restart IIS and test it out

"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?




.



Relevant Pages

  • RE: A redirection to a URL in IIS 6
    ... I told the client just have them enter http://mail.companyname.com/exchange ... would be brought to the Exchange 2003 web based interface. ... So that brought me to the IIS 6 redirect a URL option. ... The following child nodes also define the value of the "UNCPassword" ...
    (microsoft.public.exchange.admin)
  • RE: A redirection to a URL in IIS 6
    ... In IIS at the Default Web Site click on the Documents tab and add the file ... I told the client just have them enter http://mail.companyname.com/exchange ... would be brought to the Exchange 2003 web based interface. ... The following child nodes also define the value of the "UNCPassword" ...
    (microsoft.public.exchange.admin)
  • RE: A redirection to a URL in IIS 6
    ... you the other way is just as folks don't want to have to type /exchange they ... Open the properties for the default web site ... I told the client just have them enter http://mail.companyname.com/exchange ... The following child nodes also define the value of the "UNCPassword" ...
    (microsoft.public.exchange.admin)
  • Silly question of the day #2: Hosted e-mail vs. Exchange on SBS2003
    ... hosting company vs. moving to Exchange 2003 ... SP2 when we are moving a client to SBS2003? ... to move them over to Exchange. ... company that hosts their web site and the e-mail "just works". ...
    (microsoft.public.windows.server.sbs)
  • RE: A redirection to a URL in IIS 6
    ... Default Web Site - right click on the properties and then click on the ... I told the client just have them enter http://mail.companyname.com/exchange ... would be brought to the Exchange 2003 web based interface. ... The following child nodes also define the value of the "UNCPassword" ...
    (microsoft.public.exchange.admin)