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:

<div class=""alert alert-secondary"" role=""alert""><xmp> <!--#include file=""../_fpclass/fpdblib.inc"" --> </xmp></div>
<p>To</p>
<div class=""alert alert-secondary"" role=""alert""><xmp><!--#include virtual=""/_fpclass/fpdblib.inc""--></xmp></div>
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Do you support ASP.NET?

ASP.NET is available for use on our Windows packages, which is available for Windows Hosting. We...

How can I show detailed ASP errors?

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

How do I connect to my database via .NET?

A website built using .NET can be connected to databases of different types: MySQL, MSSQL, and...

Powered by WHMCompleteSolution