I am moving a website from a dedicated server to a server that will host multiple sites. Most of the path descriptions on the dedicated server code are relative:
(i.e. <!-- #include virtual = "/include/somefile.aps" --> or <img src = "/images/pixel.gif" )
and the defalt page is at the root (i.e. wwwroot.default.asp). Now when I move a copy of the code to the new server, is will not be at root but in a subdirectory (i.e. wwwroot/myweb/default.asp). All of the paths fail and the only way I can get the include to work is to change it to:
<!-- #include file = "../../include/somefile.asp" --> and <img src="../../images/pixel.gif">.
Do I have to change all of the pathing on my code?? Ugly thought!