Can I use parent paths in Classic ASP?

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"-->

Was this answer helpful?

Related Articles

How can I show detailed ASP errors?

By default, Windows Server hides application errors from your website. You can override this by...