Then try this instead:
<a rel="nofollow" style='text-decoration: none;' href="http://www.ilopia.com/Windows+Server+2003/FAQ/IIS/87.aspx" target="_blank">http://www.ilopia.com/Windows+Server+2003/FAQ/IIS/87.aspx</a>
Question:
I cannot use <!--#include file="../myfile.asp"--> in my asp file. I
get this error (or similar):
Active Server Pages error 'ASP 0131'
Disallowed Parent Path
/folder1/folder2/default.asp, line 3
The Included file '../test.asp' cannot contain '..' to indicate the
parent directory.
Answer:
IIS 6 is locked down by default. Parent Paths is a way for a hacker to
navigate to a folder on the web server that has execute permissions, and in
that way execute scripts that you normally shouldn't and wouldn't execute.
If you enable this, make sure that you do not give execute permissions to a
parent folder. To enable Parent Paths, follow these steps:
a.. Click Start->Programs->Administrative Tools->Internet
Information Services
b.. Expand Web Sites and right click the web site you want to enable
this for (i.e Default Web Site), click Properties
c.. Click the Home directory tab and click the Configuration button
d.. Click on the Options tab
e.. Check the box Enable Parent Paths
--
Regards,
Kristofer Gafvert - IIS MVP
Reply to newsgroup only. Remove NEWS if you must reply by email, but please
do not.
<a rel="nofollow" style='text-decoration: none;' href="http://www.ilopia.com" target="_blank">www.ilopia.com</a> - FAQ and Tutorials for Windows Server 2003
"simox" wrote in message
> Below are the message shown when I tried to browse the virtual directory
>
> Active Server Pages error 'ASP 0131'
>
> Disallowed Parent Path
>
> /forum/includes/include.asp, line 1
>
> The Include file '../database/constants.asp' cannot contain '..' to
indicate the parent directory.
> >> Stay informed about: cannot view ASP on IIS6.0