Virtual directories

WhizBase includes support for virtual directories since version 6.1. There are some important notes regarding virtual directories in WB:

- virtual directory must have the same name as physical directory

Physical path: Virtual path:
c:\inetpub\vhosts\admin /admin/

- physical path must be added to AllowedPaths
Physical path:


- all WhizBase files (wbsp, sr, inc and ic) contained in virtual directory must use function $WBVDHR to refer to wwwroot directory of the site
Inside wwwroot directory:

Inside virtual directory:

- to be able to use $WBVDHR function, server side variable VirtualDirHomeRef must be set in wbsp.ssc file.