N
Niels Sloth
Hi
I have 9 asp-sites on a Win2003 server, and would like to use the same
include file, but it does not work.
The path for the servers default website (which is not where the
problem is) is c:\inetpub\wwwroot\ and the rest of the sites are at
c:\inetpub\wwwroot\websites\Site1\ , ..\Site2\ etc.
I tried using the following on the secondary sites:
<!--#include virtual="Websites/Include.asp" -->
<!--#include virtual="/Websites/Include.asp" -->
<!--#include file="../Include.asp" -->
All works fine on my development machine (Win2k) and on the server
(Win2003) when it is accessed through the LAN, but when I cut the LAN
and access the server through www (e.g. http://www.site1.dk) it does
not work.
I suspect that the internet user does not have rights to the virtual
path, but how do I solve that?
Can anybody give a clue?
As you may see from the above I am not a pro.
Thanks.
Niels from Denmark
www.biopix.dk
I have 9 asp-sites on a Win2003 server, and would like to use the same
include file, but it does not work.
The path for the servers default website (which is not where the
problem is) is c:\inetpub\wwwroot\ and the rest of the sites are at
c:\inetpub\wwwroot\websites\Site1\ , ..\Site2\ etc.
I tried using the following on the secondary sites:
<!--#include virtual="Websites/Include.asp" -->
<!--#include virtual="/Websites/Include.asp" -->
<!--#include file="../Include.asp" -->
All works fine on my development machine (Win2k) and on the server
(Win2003) when it is accessed through the LAN, but when I cut the LAN
and access the server through www (e.g. http://www.site1.dk) it does
not work.
I suspect that the internet user does not have rights to the virtual
path, but how do I solve that?
Can anybody give a clue?
As you may see from the above I am not a pro.
Thanks.
Niels from Denmark
www.biopix.dk