I need help with a very small .asp script

N

news.rcn.com

Please go to http://www.fqframes.org and see the error. This is the script
I have - it's very small:

<%EnableSessionState=False

host = Request.ServerVariables("HTTP_HOST")

if host = "fqvictims.org" or host = "www.fqvictims.org" then
response.redirect("http://fqvictims.org/fqvictims/index.htm")

elseif host = "fqframes.org" or host = "www.fqframes.org" then
response.redirect("http://fqframes.org/fqframes/index.htm")

elseif host = "gulfwarillness.org or host = "www.gulfwarillness.org" then
response.redirect("http://gulfwarillness.org/gulfwarillness/index.htm")

elseif host = "s118853395.onlinehome.us" then
response.redirect("http://fqvictims.org/fqvictims/index.htm")

else
response.redirect("http://fqframes.org/error.htm")

end if
%>



I got this from my webhost but it's not working. Could someone that knows
the syntax of this scripting language post the corrections in this thread?


Thank you,

Bob
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top