Can I use parent paths in Classic ASP?

Hostkicker LLC

Last Update a year ago

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 article helpful?

0 out of 0 liked this article

Still need help? Message Us