inzosoftwar
02-26-2004, 05:20 AM
Hello all,
I have the following issue and support suggested that I post it here. I am trying to redirect a subdomain to a subdirectory of my web site using the information provided in article Q10102. I have put the following code in place:
<%
If InStr( Ucase(Request.ServerVariables("SERVER_NAME")), Ucase("http://backtrackhome.inzosoftware.com") ) > 0 Then
Response.Redirect("http://www.inzosoftware.com/backtrackhome/index.aspx")
End if
%>
This does not function when I go to http://backtrackhome.inzosoftware.com - it merely stays on the default web page.
From what I can tell, there is nothing wrong with the code - but I'm not sure.
Anyone got any ideas.
On that same note, can you use a redirection in the same manner to point an entire URL (say www.backtrackhome.com) to the subdirectory?
thanks in advance.
michael
I have the following issue and support suggested that I post it here. I am trying to redirect a subdomain to a subdirectory of my web site using the information provided in article Q10102. I have put the following code in place:
<%
If InStr( Ucase(Request.ServerVariables("SERVER_NAME")), Ucase("http://backtrackhome.inzosoftware.com") ) > 0 Then
Response.Redirect("http://www.inzosoftware.com/backtrackhome/index.aspx")
End if
%>
This does not function when I go to http://backtrackhome.inzosoftware.com - it merely stays on the default web page.
From what I can tell, there is nothing wrong with the code - but I'm not sure.
Anyone got any ideas.
On that same note, can you use a redirection in the same manner to point an entire URL (say www.backtrackhome.com) to the subdirectory?
thanks in advance.
michael