Automatically append the /exchange/ portion to the URL when users go to the
root directory of the exchange server's URL.
Example:
http://mail.company.com/
-redirects to-
http://mail.company.com/exchange/
Copy and paste the following code into a new file named owa_redir.asp or
replace the contents of default.asp with this code:
Exchange OWA
<%@language="jscript"%>
<%
function append_exchange() {
var url = new String()
if(Request.servervariables('SERVER_PORT')==80)
url += 'http://'
if(Request.servervariables('SERVER_PORT')==443)
url += 'https://'
url += Request.servervariables('SERVER_NAME')
url += '/exchange/'
Response.redirect(url)
}
function main() {
append_exchange()
}
main()
%>
Microsoft Exchange. Redirection In Progress...