Kevin
Fri Oct 08 03:38:48 CDT 2004
This is a multi-part message in MIME format.
------=_NextPart_000_0018_01C4AD1A.9C8F79E0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Re: Parent Path with Active Server PagesIt would be wonderful - but the =
web hosting company will not allow this due to possible security issues. =
Would be nice to do this dynamically, by coding.
Have tried MapPath etc.
"Chris Leeds, MVP-FrontPage" <Leeds@mvps.org> wrote in message =
news:%23ip2zrMrEHA.1900@TK2MSFTNGP10.phx.gbl...
why not just have the production server allow parent pathing? it =
would make your life easier.
--=20
Chris Leeds,
Microsoft MVP-FrontPage
Make More Money with Less Work
Let Your Clients Control Their Content With Just A Browser!
http://contentseed.com/
--
"Kevin" <kevgrim@tesco.net> wrote in message =
news:#fSEmjMrEHA.3416@TK2MSFTNGP15.phx.gbl...
Only problem with using absolute paths is that the development =
server and the production server must be identical - which sadly they =
are not.
"Jens Peter Karlsen[FP MVP]" <jpkarlsen@mvps.org> wrote in message =
news:%23yo85tLrEHA.1952@TK2MSFTNGP12.phx.gbl...
You can overcome it by using absolute URLs.=20
Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.=20
> -----Original Message-----=20
> From: Kevin [mailto:kevgrim@tesco.net]=20
> Posted At: 7. oktober 2004 22:41=20
> Posted To: microsoft.public.frontpage.programming=20
> Conversation: Parent Path with Active Server Pages=20
> Subject: Parent Path with Active Server Pages=20
>=20
>=20
> Keep getting the error below, because am using the ../=20
> notation for an include file in the root of a website.=20
> Active Server Pages error 'ASP 0131' Disallowed Parent Path=20
> The Include file '../vbutils.asp' cannot contain '..' to=20
> indicate the parent directory.=20
> The webhosts will not change their settings on IIS6, because=20
> of a potential security issue.=20
> Can I overcome this problem by coding???=20
>=20
>=20
------=_NextPart_000_0018_01C4AD1A.9C8F79E0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Re: Parent Path with Active Server Pages</TITLE>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1458" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>It would be wonderful - but the web =
hosting company=20
will not allow this due to possible security issues. Would be nice =
to do=20
this dynamically, by coding.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Have tried MapPath etc.</FONT></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV>"Chris Leeds, MVP-FrontPage" <<A=20
href=3D"mailto:Leeds@mvps.org">Leeds@mvps.org</A>> wrote in message =
<A=20
=
href=3D"news:%23ip2zrMrEHA.1900@TK2MSFTNGP10.phx.gbl">news:%23ip2zrMrEHA.=
1900@TK2MSFTNGP10.phx.gbl</A>...</DIV>
<DIV><FONT face=3DArial size=3D2>why not just have the production =
server allow=20
parent pathing? it would make your life easier.</FONT></DIV>
<DIV><BR>-- <BR>Chris Leeds,<BR>Microsoft MVP-FrontPage</DIV>
<DIV> </DIV>
<DIV>Make More Money with Less Work<BR>Let Your Clients Control Their =
Content=20
With Just A Browser!<BR><A=20
=
href=3D"
http://contentseed.com/">http://contentseed.com/</A><BR>--</DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV>"Kevin" <<A=20
href=3D"mailto:kevgrim@tesco.net">kevgrim@tesco.net</A>> wrote in =
message=20
<A=20
=
href=3D"news:#fSEmjMrEHA.3416@TK2MSFTNGP15.phx.gbl">news:#fSEmjMrEHA.3416=
@TK2MSFTNGP15.phx.gbl</A>...</DIV>
<DIV><FONT face=3DArial size=3D2>Only problem with using absolute =
paths is that=20
the development server and the production server must be identical - =
which=20
sadly they are not.</FONT></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV>"Jens Peter Karlsen[FP MVP]" <<A=20
href=3D"mailto:jpkarlsen@mvps.org">jpkarlsen@mvps.org</A>> =
wrote in=20
message <A=20
=
href=3D"news:%23yo85tLrEHA.1952@TK2MSFTNGP12.phx.gbl">news:%23yo85tLrEHA.=
1952@TK2MSFTNGP12.phx.gbl</A>...</DIV><!-- Converted from text/plain =
format -->
<P><FONT size=3D2>You can overcome it by using absolute =
URLs.</FONT> </P>
<P><FONT size=3D2>Regards Jens Peter Karlsen. Microsoft MVP - =
Frontpage.=20
</FONT></P>
<P><FONT size=3D2>> -----Original Message-----</FONT> <BR><FONT =
size=3D2>> From: Kevin [<A=20
href=3D"mailto:kevgrim@tesco.net">mailto:kevgrim@tesco.net</A>]=20
</FONT><BR><FONT size=3D2>> Posted At: 7. oktober 2004 =
22:41</FONT>=20
<BR><FONT size=3D2>> Posted To:=20
microsoft.public.frontpage.programming</FONT> <BR><FONT =
size=3D2>>=20
Conversation: Parent Path with Active Server Pages</FONT> =
<BR><FONT=20
size=3D2>> Subject: Parent Path with Active Server Pages</FONT> =
<BR><FONT=20
size=3D2>> </FONT><BR><FONT size=3D2>> </FONT><BR><FONT =
size=3D2>> Keep=20
getting the error below, because am using the ../ </FONT><BR><FONT =
size=3D2>> notation for an include file in the root of a =
website.</FONT>=20
<BR><FONT size=3D2>> Active Server Pages error 'ASP 0131' =
Disallowed Parent Path </FONT><BR><FONT size=3D2>> The Include =
file=20
'../vbutils.asp' cannot contain '..' to </FONT><BR><FONT =
size=3D2>>=20
indicate the parent directory.</FONT> <BR><FONT size=3D2>> The =
webhosts=20
will not change their settings on IIS6, because </FONT><BR><FONT=20
size=3D2>> of a potential security issue.</FONT> <BR><FONT =
size=3D2>>=20
Can I overcome this problem by coding???</FONT> <BR><FONT =
size=3D2>>=20
</FONT><BR><FONT size=3D2>>=20
</FONT></P></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>
------=_NextPart_000_0018_01C4AD1A.9C8F79E0--