|
Include files in sub directories
The files on my site that sit within a sub directory of the wwwroot folder and reference an include file stored within a directory up from itself e.g.
wwwroot/mysub/file.asp - file that references include
wwwroot/scripts/include.asp - include file
produces this error message:
Active Server Pages error 'ASP 0131'
Disallowed Parent Path
/mysub/file.asp, line 3
The Include file '../scripts/include.asp' cannot contain '..' to indicate the parent directory.
My include code is: <!--#include file="../scripts/include.asp" -->
How do I reference the files?
|