11 Ağustos 2007 Cumartesi

Have Multiple Domains on a Single IP Address

<%
host = lcase(request.servervariables("HTTP_HOST"))
SELECT CASE host
CASE "www.chatventure.com"
response.redirect "http://127.0.0.1/folder0/main.htm"
CASE "www.cewebserver.com"
response.redirect "http://127.0.0.1/folder1/main.htm"
CASE ELSE
response.redirect "http://www.microsoft.com"
END SELECT
%>


0 Comments: