• We value your experience with Plesk during 2026
    Please help us understand which Plesk features made your work easier this year, what is still missing and how AI should help you in Plesk ?
    Take this short 5-minutes survey. Your answers go straight into the Plesk roadmap for 2027.

Relative virtual include

I

inCharge.co.uk

Guest
I got an absolute virtual include to work like this:

<!-- #INCLUDE VIRTUAL="/incharge.co.uk_non_ssl/blah/Include.asp" -->

where in non-plesk land it would be

<!-- #INCLUDE VIRTUAL="/blah/Include.asp" -->

but I couldn't get a relative virtual include to work. e.g.

<!-- #INCLUDE VIRTUAL="blah/Include.asp" -->

If the folder containing this script has a virtual folder in it then this SHOULD work. Anyone know how to do it? Obviously I want to avoid customising every site's paths for the site.co.uk_non_ssl bit.

And before you say to use INCLUDE FILE instead, every one of my customers sites uses the same code installed in one place on the disk and accessed via a virtual folder. So I HAVE to use a virtual include.

Thanks, Julian
 
Back
Top