redirect solution of windows 2003 server

solution 1:
creat new site,
set redirect to
http://192.168.1.200:800/

solution 2:
1. Create one html page, name it redirectssl.htm and save it into your virtual directory folder. Here is the redirectssl.htm content:
[script language=javascript>
self.location = "https://www.website.com/virtual_directory.com "
[/script>
[noscript>
[META HTTP-EQUIV=Refresh CONTENT="1; URL=https://www.website.com/virtual_directory.com ">
[/noscript>


note:
change [ to <
2. Open your IIS, right click on your virtual directory site, click Properties.
3. Switch to Custom Error Tab
4. Edit properties of 403;4.
5. Set message type to FILE
6. Click browse button and point it into your redirectssl.htm
7. Click OK button twice.

Now try to put http://www.website.com/virtual_directory.com (without s).

HTH.



solution 3:
1. Open your IIS, right click on your virtual directory site, click Properties.
2. Switch to Custom Error Tab
3. Edit properties of 403;4.
4. Set message type to FILE
5. Click browse button and point it into your redirect.htm
6. Click OK button twice.


redirect.html
[head>
[title>API E-MAIL SERVER
[/title>
[meta http-equiv="REFRESH" content="1;url=https://site/exchange">
[/HEAD>
[BODY>
Loading... https://site/exchange
[/BODY>

note:
!!!!!!!change [ to <
content="1 - is the time in seconds it will take to redirect

Comments

Popular posts from this blog

FireFox 加速