Print Page | Close Window

Help -- relative path and include

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=805
Printed Date: 29 March 2026 at 3:06pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Help -- relative path and include
Posted By: boyohboy
Subject: Help -- relative path and include
Date Posted: 07 March 2003 at 12:04pm

I'm really struggling to integrate a bunch of apps into a website when it comes to glue them all together and the apps are separated into their own directories. Note, I'm using relative path cuz migration will be easier.

say:

/sharedgraphics/graphic.gif
/commonfile1.asp
/commonfile2.asp
/forum/files.asp
/specials/specials1/index.asp
/specials/specials2/index.asp

commonfiles.asp's and commongraphics are to be used throughout the site (or on several apps)



-------------
Visit my community website @
http://www.everythingviet.com - EverythingVIET.com



Replies:
Posted By: michael
Date Posted: 07 March 2003 at 1:01pm
Well there you see the beauty of virtual paths'. You would not have to worry about that. Using a relative path makes it hard to impossible to use the same include statement in different directories.


Posted By: boyohboy
Date Posted: 07 March 2003 at 1:08pm
elaborate, my good friend.

I have some idea about virtual path but never had use it.

Set the virtual path on common/shared files????

-------------
Visit my community website @
http://www.everythingviet.com - EverythingVIET.com


Posted By: michael
Date Posted: 07 March 2003 at 2:44pm
Well using include virtual, enables you to use the same code in any folder you might be because you always point from the web root. So if you have file inside the 5th down folder it does not matter where you call it from as the point ssi starts to look for the file is always the root. I believe MorningZ had an exellent tutorial/lesson before the forums was wiped maybe he still has the text flying around somewhere.


Posted By: boyohboy
Date Posted: 07 March 2003 at 5:08pm
Thanks, I'll look into that.

-------------
Visit my community website @
http://www.everythingviet.com - EverythingVIET.com



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