Someone shared with me a little piece of knowledge:

change the default .asp file (normally iisstart.asp)  by replacing its code with this:

<%
Response.Redirect( "http://"; & Request.ServerVariables("SERVER_NAME") & ":8383" )
%>       (the line may wrap)



-----Original Message-----
From: Andrey Fyodorov 
Sent: Monday, November 25, 2002 3:06 PM
To: Exchange Discussions
Subject: OT - IIS redirect


Hey all.

I am trying to figure out if there is an easy way to set up a redirect to the same 
page but on a different port.

for example when someone reaches the default website on port 80, I'd like it to get 
redirected to the default website on port 8383.

I have tried to set up redirect properties in IIS Admin as follows:
*;*;:8383 but when I go to http://server.com, I get redirected to 
http://server.com/:8383 - IIS sticks the slash in the middle and ruins everything.

By the way, I have a similar redirect working fine on my OWA front-ends, only I am not 
redirecting to a different port. It is configured as
*;*;/exchange
and it gets me from the default website straight to the /exchange virtual directory. 
That one works great.

Thanks for any ideas!

        Andrey

_________________________________________________________________
List posting FAQ:       http://www.swinc.com/resource/exch_faq.htm
Archives:               http://www.swynk.com/sitesearch/search.asp
To unsubscribe:         mailto:[EMAIL PROTECTED]
Exchange List admin:    [EMAIL PROTECTED]

_________________________________________________________________
List posting FAQ:       http://www.swinc.com/resource/exch_faq.htm
Archives:               http://www.swynk.com/sitesearch/search.asp
To unsubscribe:         mailto:[EMAIL PROTECTED]
Exchange List admin:    [EMAIL PROTECTED]

Reply via email to