• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

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