I need to clarify that I understand how the relative path work, and I also know that how to use the simplest way to create navigation link. I did create a include file which served as a our main "Navigation Link" and include it on every page. When there has any changes, just change the include file, it will relect the entire site.
Now, my problem not this.
My problem is :
ok, I have a web-site which I create it under the wwwroot directory (inetpub/wwwroot), I don't have what we call it
new web as in FrontPage and new web project in interdev. The web folder structure is as below:
inetpub/wwwroot/
default.asp
about.asp
feedback.asp..etc
IncludeFolder
connection.asp
navigation.asp
javafunction.js
ImageFolder
pic.jpg
pic2/jpg
folder1
index.asp
file1.asp
file2.asp
file3.asp
folder2
index.asp
file1.asp
file2.asp
file3.asp
folder3
index.asp
file1.asp
file2.asp
file3.asp
so, when I access the site via local machine, i just type :
localhost/
all the web pages (.asp) share a same navigation.asp file. For instance, in the folder1
index.asp, there is a statement <!-- #Include virtual="/include/navigation.asp" -->, as well
as others .asp files.
(Previously, I didn't use Interdev) If I use the Interdev, create a new web project (new web application), then the virtual path of the new web project will be
http://localhost/newproject/default.asp. The pysical path will be c:\inetpub\wwwroot\newproject\, So, if I add all the existing files and folders into this new project, then
the link point to the <!-- #Include virtual="/include/navigation.asp" --> will be incorrect , I have to change it into
<!-- #Include virtual="/newproject/include/navigation.asp" --> . For the pages which have image SRC="/imageFolders/pic.jpg" will point to incorrect folder I have to change them into SRC="/newproject/imageFolder/pic.jog".
That is why I want to know if I use interdev and convert my existing web site into the web project, do i need to change the "path or SRC".
I must use Interdev for creating a web project is because i want to set a "multi authoting enviroment" by utilising VSS or FrontPage Source Control.
DO HOPE CAN GET RESPONSE FROM HERE