Print Page | Close Window

web path problem

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: General Discussion
Forum Description: General discussion and chat on any topic.
URL: https://forums.webwiz.net/forum_posts.asp?TID=1306
Printed Date: 29 March 2026 at 8:03am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: web path problem
Posted By: charon
Subject: web path problem
Date Posted: 24 March 2003 at 7:44pm
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 - 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



Replies:
Posted By: KCWebMonkey
Date Posted: 24 March 2003 at 8:52pm

Is it at all possible to simplify your question? I would help but I don't have time to read all that...



Posted By: charon
Date Posted: 27 March 2003 at 2:36am
this is for you to have better understanding of my problem...:((



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net