• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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