Can I use parent paths in Classic ASP?

Lloyd Cobb
Published: 21 June 2017Last updated: 8 August 2024
Share:

ASP Parent Paths are disabled on our platform.

As a result, Classic ASP scripts using "../" notation for includes will not work correctly.

As an alternative to using parent paths in your ASP code, you can use virtual paths. Virtual paths need you to enter the full folder path from the URL root of your website. For example, changing:

<!--#include file="../_fpclass/fpdblib.inc" -->

To

<!--#include virtual="/_fpclass/fpdblib.inc"-->