asked on
<%
strURL = Request.ServerVariables("URL")
If InStr(1, strURL, "mail.domain1.com", VbTextCompare) > 0 Then
Response.Redirect "https://mail.domain1.com/owa"
ElseIf InStr(1, strURL, "mail.domain2.com", VbTextCompare) > 0 Then
Response.Redirect "https://mail.domain2.com/owa"
End If
%>
ASKER
ASKER
ASKER
ASKER
ASKER
ASKER
ASKER
ASKER
Exchange is the server side of a collaborative application product that is part of the Microsoft Server infrastructure. Exchange's major features include email, calendaring, contacts and tasks, support for mobile and web-based access to information, and support for data storage.
TRUSTED BY
1.
Use ASP, then you can read the URL used to access the site and redirect accordingly. I have an example of that somewhere, let me dig it out.
2.
DNS cannot redirect you to a sub-folder of a name. That must be done on the Web Server. DNS deals with names, couldn't care les about protocols (HTTP -> HTTPS) or about virtual directories on web servers.
Chris