relative path not working

Results 1 to 3 of 3

Thread: relative path not working

  1. #1
    Join Date
    Dec 1969

    Default relative path not working

    On nt4 and pws this line works fine<BR><BR>&#060;!-- #include file ="../include/" --&#062;<BR><BR>however i have recently moved the site to a windows 2000 server <BR>and it doesnt like it .... any ideas... ? <BR><BR>is the syntax for relaive paths different on win2000??<BR><BR><BR>thanks<BR>

  2. #2
    Davey-D Guest

    Default RE: relative path not working

    try &#060;!--#include virtual="../include/"--&#062;

  3. #3
    Join Date
    Dec 1969

    Default Is Include a Virtual Directory?

    If you create "include" as a virtual directory in IIS, then relative addressing is no longer needed. It is referenced directly regardless of where the "parent" page is at in the site.<BR>I do this all the time at it works great. Especially for nested includes several folders deep in the site.<BR><BR>&#060;!--#include virtual="include/"--&#062;<BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts