I have a page /include/redirector.asp
The beta and www are both websites hosted on the same physical server
servername xxx OS windows 2003 IIS 6
This file exists on both my beta and production site. Here are the contents of the file.
<% If InStr(Request.ServerVariables("SERVER_NAME"),Application("subdomain")) = 0 Then Response.Status="301 Moved Permanently" Response.AddHeader "Location",lcase("http://" & Application("subdomain") & Request.ServerVariables("HTTP_HOST") & Request.ServerVariables("SCRIPT_NAME")) End if %>
- If you navigate to http://beta.sc-pa.com/include/redirector.asp you will see a blank page. <-- this is the correct output.
- If you navigate to http://www.sc-pa.com/include/redirector.asp you get the
internet explorer cannot display this page, error.
What could be different between the configuration in these two sites to cause this issue?