Hi,
this is longwinded, but straightforward... please take a look...
I'm trying to set up a website that will eventually be on its own url, but for now it is in development on my test machine.
i want to include a file like this:
<!-- #Include Virtual="/includes/header.inc"-->
so when i'm finished, my real website would have this url to the include file:
http://www.mywebsite.com/includes/header.inc
but here's the problem - right now its in a local virtual directory at:
d:\inetpub\wwwroot\mywebsite\includes\header.inc
and the virtual directory is set up in IIS to point to mywebsite, so i can view it at:
http://localhost/mywebsite/index.aspx
however, it cant find the include file - it gives the error message as:
Parser Error Message: Could not find a part of the path "d:\inetpub\wwwroot\includes\Header.inc".
so it is skipping the virtual directory's folder.
how do you make it start in the virtual directory so that the link will work the same as it does if you had it on a live site????
thanks for your help
this is longwinded, but straightforward... please take a look...
I'm trying to set up a website that will eventually be on its own url, but for now it is in development on my test machine.
i want to include a file like this:
<!-- #Include Virtual="/includes/header.inc"-->
so when i'm finished, my real website would have this url to the include file:
http://www.mywebsite.com/includes/header.inc
but here's the problem - right now its in a local virtual directory at:
d:\inetpub\wwwroot\mywebsite\includes\header.inc
and the virtual directory is set up in IIS to point to mywebsite, so i can view it at:
http://localhost/mywebsite/index.aspx
however, it cant find the include file - it gives the error message as:
Parser Error Message: Could not find a part of the path "d:\inetpub\wwwroot\includes\Header.inc".
so it is skipping the virtual directory's folder.
how do you make it start in the virtual directory so that the link will work the same as it does if you had it on a live site????
thanks for your help