We support Microsoft .NET Framework 2.0 & 1.1, all versions of Access, SQL 2000, SQL 7.0, SQL 2005 Express, SOAP, FrontPage 2002, 2003, Visual Studio 2005, Index Server, XML, UDDI, & Mobile device support. We also offer great third party tools like SmarterMail, Merak Mail, SmarterStats, PHP, Perl, MySql, DeepMetrix Livestats XSP 8.0.   We support Microsoft .NET Framework 2.0 & 1.1, all versions of Access, SQL 2000, SQL 7.0, SQL 2005 Express, SOAP, FrontPage 2002, 2003, Visual Studio 2005, Index Server, XML, UDDI, & Mobile device support. We also offer great third party tools like SmarterMail, Merak Mail, SmarterStats, PHP, Perl, MySql, DeepMetrix Livestats XSP 8.0.
 Saturday, May 12, 2007

This is a very simple method to redirect a single IIS entry to multiple FQDN's. You can add as many as you wish just repeat Elseif code. Place this as the default document and you are set.

<%
Dim srvrname
srvrname= lcase(Request.servervariables("SERVER_NAME"))
if srvrname="www.domainname.com" or srvrname="domainname.com" then
 Response.Redirect "default.htm"%>
<%Elseif srvrname="www.domain2.com" or srvrname="domain2.com" then
  Response.Redirect "/domain2/default.asp"%>
<%end if%>

Dev
5/12/2007 8:00:59 AM (Pacific Daylight Time, UTC-07:00)  #    Disclaimer  |  Comments [0]  | 
Related Posts:
EGroupware
Microsoft and Iron Ruby
SQL injection
Synchronize Mysql data with php
IE 8 passes ACID2 test
SQL Speed Tip

Name
E-mail
Home page

Comment (HTML not allowed)  

Enter the code shown (prevents robots):