Attributes | Values |
---|
type
| |
Date Created
| |
Date Modified
| |
label
| - ODSWebIDIdPJavascriptModify
|
maker
| |
Title
| - ODSWebIDIdPJavascriptModify
|
isDescribedUsing
| |
has creator
| |
attachment
| |
content
| - %META:TOPICPARENT{name="ODSWebIDIdP"}%
---+Javascript pages modification notes
The Javascript pages can be tested/used both in case they are located in OS file system / or DAV.
By default with the ODS Framework package installation is created virtual folder
/ods/webid which is mapped to the created created by default OS file system type folder vsp\vad\vsp\wa\webid .
---++Scenario 1
In case you want to add your own Javascript page, you need to add it to the existing OS file system type folder vsp\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.:
1 Suppose your new Javascript page is named mytest.html and you have placed it in DAV location /DAV/home/demo :
%BR%%BR% %BR%%BR%
1 To create a virtual folder for ex. mytest , go to Conductor -> Web Application Server -> Virtual Domains & Directories and expand the UI for your lets say Default Web Site:
%BR%%BR% %BR%%BR%
1 Click "New Directory"
%BR%%BR% %BR%%BR%
1 Specify type: "WebDAV domain":
%BR%%BR% %BR%%BR%
1 Click "Next"
1 In the presented form specify:
* Path: /mytest
* Check-box "Physical path is a WebDAV repository" should be hatched.
* Physical path: /DAV/home/demo/
%BR%%BR% %BR%%BR%
1 Click "Save Changes".
1 Access your Javascript page with the new created path: http://host:port/mytest/mytest.html
1 After choosing a valid certificate, your modified Javascript page should be presented:
%BR%%BR% %BR%%BR%
---++Scenario 2
In case you want to use another path for accessing your Javascript 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 .
1 Suppose the Javascript page webid_demo.html is located at your OS file system /vsp/vad/vsp/wa folder.
1 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:
%BR%%BR% %BR%%BR%
1 Click "New Directory"
%BR%%BR% %BR%%BR%
1 Specify type: "File system":
%BR%%BR% %BR%%BR%
1 Click "Next"
1 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
%BR%%BR% %BR%%BR%
1 Click "Save Changes".
1 Access the Javascript page with the new created path: http://host:port/fstest/webid_demo.html
1 After choosing a valid certificate, the Javascript page should be presented:
%BR%%BR% %BR%%BR%
---++Related
* [[ODSWebIDIdP][Using Virtuoso's WebID Verification Proxy Service with a WebID-bearing X.509 certificate]]
* [[ODSWebIDIdPJScriptEx1][Using Virtuoso's WebID Verify Proxy Service with an X.509 certificate WebID: JavaScript Example]] |
id
| - 77d3414c9dede50acc600ac624a3eeda
|
link
| |
has container
| |
http://rdfs.org/si...ices#has_services
| |
atom:title
| - ODSWebIDIdPJavascriptModify
|
links to
| |
atom:source
| |
atom:author
| |
atom:published
| |
atom:updated
| |
topic
| |
is made
of | |
is container of
of | |
is link
of | |
is http://rdfs.org/si...vices#services_of
of | |
is links to
of | |
is creator of
of | |
is atom:entry
of | |
is atom:contains
of | |