Availability
$WBVDHR is available for use with all WBSP commands.
Syntax
$WBVDHR
$WBVDHR[]
$WBVDHR{}
Returns
Path to the root directory of the current virtual host
as it is defined in server-side variable VirtualDirHomeRef. Used to refer to wwwroot
directory from files located in virtual
directory
.
Here's an
example: