Web Server Setup
VS-S-2 Examples of Mapping
Creating a virtual directory with default page
Preliminaries
- The virtual path can be defined to have a default page.
- The default page will be displayed if no file is requested.
- Sub directories of the defined mapping, inherit the default page name mapping.
- The particular URL can be retrieved with integrated HTTP client as a string.
- The integrated HTTP client can be invoked with the http_get() function.
Example description
- This example defines a virtual directory with a default dynamic page.
- A URL is prompted for. If it is found then the header and content is loaded and displayed.
- An error is reported if the URL cannot be found.
| View the source | Action |
|---|---|
| 1. vs_s_2_sample_1.sql | Set the initial state |
| 2. vs_s_2_sample_1.vsp | Run |
OpenLink Home
Technical Support