File location

Results 1 to 3 of 3

Thread: File location

  1. #1
    Join Date
    Dec 1969

    Default File location

    Hi,<BR><BR>my IIS is on default location c:inetpubwwwroot<BR>Is it all the asp files has to be under the default location?<BR><BR>it is because when I try to place the asp file on other drive e.g. D:mywebsite<BR>and the Enable Parent Path is disabled.<BR>and I set a virtual directory pointing to D:mywebsite<BR>I found that I can&#039;t include file in asp.

  2. #2
    Join Date
    Dec 1969

    Default RE: File location

    The physical location (on the harddisk) and the virtual location (within IIS) are two different things.<BR><BR>So if the root of your website is at c:inetpubwwwroot and you create a virtual directory at d:mywebsite then you should be able to access asp files there. The best way to use include files in such a configuration would be to use <BR>&#060;!--#include virtual="/bla.asp"--&#062;<BR>in stead of<BR>&#060;!--#include file="c:inetpubwwwrootla.asp"--&#062;<BR>Because the last one probably won&#039;t work.

  3. #3
    Join Date
    Dec 1969

    Default You're right, it won't.

    &#062;Because the last one probably won&#039;t work.<BR><BR>Won&#039;t work.

Posting Permissions

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