Fix to support virtual directories/folders in IIS.