VSP pages modification notes
The VSP pages can be tested/used both in case they are located in OS file system / or DAV.
By default the ODS Framework package installation creates 2 additional folders:
- OS file system type folder:
vsp\vad\vsp\wa\webid
. - Virtual folder:
/ods/webid
, which is mapped to thevsp\vad\vsp\wa\webid
folder from above.
Scenario 1
In case you want to add your own VSP page, you need to add it to the existing OS file system type foldervsp\vad\vsp\wa\webid
/ or to any DAV location.
If you choose a DAV location, make sure you create a new virtual folder that is mapped to this DAV location.
For ex.:- Suppose your new VSP page is named mytest.vsp and you have placed it in DAV location
/DAV/home/demo
:
- To create a virtual folder for ex.
with name
mytest
, go to Conductor -> Web Application Server -> Virtual Domains & Directories and expand the UI for your lets say Default Web Site:
- Click "New Directory"
- Specify type: "WebDAV? domain":
- Click "Next"
- In the presented form specify:
- Path: /mytest
- Check-box "Physical path is a WebDAV? repository" should be hatched.
- Physical path: /DAV/home/demo/
- Click "Save Changes".
- Access your VSP page with the new created path: http://host:port/mytest/mytest.vsp
- After choosing a valid certificate, your modified VSP page should be presented:
Scenario 2
In case you want to use another path for accessing your VSP page, different from the default virtual folder /ods/webid
, you need to create a new virtual folder which is mapped to the OS file system type folder vsp\vad\vsp\wa\webid
.
- Suppose the VSP page webid_demo.vsp is located at your OS file system
vsp\vad\vsp\wa\webid
folder. - To create a new virtual folder, for ex.
fstest
go to Conductor -> Web Application Server -> Virtual Domains & Directories and expand the UI for your lets say Default Web Site:
- Click "New Directory"
- Specify type: "File system":
- Click "Next"
- In the presented form specify:
- Path: /fstest
- Check-box "Physical path is a WebDAV? repository" should be un-hatched.
- Physical path: /vad/vsp/wa/webid
- Click "Save Changes".
- Access the VSP page with the new created path: http://host:port/fstest/webid_demo.vsp
- After choosing a valid certificate, the VSP page should be presented:
Related
- Using Virtuoso's WebID Verification Proxy Service with a WebID-bearing X.509 certificate
- Using Virtuoso's WebID Verify Proxy Service with an X.509 certificate WebID: VSP Example