ghell
01-26-2005, 09:22 PM
i just set up a "new web site" to point at a directory on my server (E:\inetpub\wwwroot\public\dir\)
this works fine on domain/public/dir
but on dir.domain it saysActive Server Pages error 'ASP 0131'
Disallowed Parent Path
/pages/home.asp, line 1
The Include file '../functions.asp' cannot contain '..' to indicate the parent directory.
i have a default page with server.execute("pages/home.asp"), and pages/home.asp loads functions with <!--#include file="../functions.asp" --> (functions is in the same dir as default but i cant use #include to load pages/home.asp because the "home" part is dynamic with quite a few pages so i dont want to have a huge switch case and error on 1 page = error on every page and stuff
this works fine on domain/public/dir
but on dir.domain it saysActive Server Pages error 'ASP 0131'
Disallowed Parent Path
/pages/home.asp, line 1
The Include file '../functions.asp' cannot contain '..' to indicate the parent directory.
i have a default page with server.execute("pages/home.asp"), and pages/home.asp loads functions with <!--#include file="../functions.asp" --> (functions is in the same dir as default but i cant use #include to load pages/home.asp because the "home" part is dynamic with quite a few pages so i dont want to have a huge switch case and error on 1 page = error on every page and stuff