Hello,
From:
<a style='text-decoration: underline;' href="http://www2.ilopia.com/Windows+Server+2003/FAQ/IIS/87.aspx" target="_blank">http://www2.ilopia.com/Windows+Server+2003/FAQ/IIS/87.aspx</a>
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.
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
<a style='text-decoration: underline;' href="http://www.ilopia.com" target="_blank">http://www.ilopia.com</a> - When you need help!
"jose" <jose.TakeThisOut@papugai.com> wrote in message
news:%23BaznPYWEHA.2816@TK2MSFTNGP11.phx.gbl...
> I moved an asp site from iis5 to iis6
>
> now im getting errors saying ../ and / arent allowed.
>
> How do I change my relative path to work with iis 6?
>
> Such a basic thing, but it seems the more basic, the harder to find
> answers...
>
> thanks
> jose
>
><!-- ~MESSAGE_AFTER~ -->
>> Stay informed about: having probs with ../ and / relative paths