Forum Moderators: open
<!--#include file="d:\inetpub\wwwroot\directory\anotherdir\include.inc"-->
I would think that I could. I used MapPath to get the physical directory, but it won't include files using the absolute path. Only if I do either
<!--#include virtual="include.inc"-->
or
<!--#include file="../directory/.../include.inc"-->
The fact that it won't allow me to use the absolute path is baffling. Is there something else I could try, to access these files from a higher directory than 'inetpub/wwwroot'? A different way of including? A way to configure IIS to allow the use of absolute paths in include statements? I have exhausted my searches on the web .. I am truly stumpted.
Thanks for your input!
-- Zak