%
If InStr(Request.ServerVariables("SERVER_NAME"),"www") = 0 Then
Response.Status="301 Moved Permanently"
Response.AddHeader "Location","http://www."
& Request.ServerVariables("HTTP_HOST")
& Request.ServerVariables("SCRIPT_NAME")
End if
%>
Google's great for finding stuff
but sometimes you can waste a lot of time digging it out of
a website. These documents are the ones we like to have at
hand, they just might be what you're looking for as well.
Enjoy