Web Server Setup
VS-S-6 Examples of Mapping
Multiple interfaces setup
Preliminaries
- The Web server can listen on multiple physical interfaces.
- Requests for each interface can be dispatched to a separate directory.
Using the Virtual Directories UI
- Login to the Conductor UI using the dba account.
- Go to "Web Application Server" tab and then go to the "Virtual Domains & Directories" tab.
- In the empty fields below the list of HTTP Listeners enter:
- In the "HTTP Host" field the qualified name of the host.
- In the "Interface" field the qualified name of the interface to listen to.
- In the "Port" field the port number to listen on.
- Press the "Add" button.
- Create a "/www2" directory under the HTTPServer ServerRoot directory. This will be used for the new mapping.
- Click the icon in front of the Interface value.
- Click the "Add new directory" link.
- Choose the "File System" type and press the button "Next>>".
- Enter for "Path" "/www2" and enter "/www2/" (or select with "Browse" button the same directory) in the "Physical path" location.
- To give execute permission, specify the VSP user. (See also: VS-B-1 example)
- Press the "Save Changes" button.
- Repeat this setup for another interface, directing to a different path (for example WebDAV repository).
Testing the Virtual Directories
- To test the definition enter http://[first_interface:port]/ in location box of your browser. After this try http://[second_interface:port]/
- Note that you may test this using official host name and localhost. The local loopback is also a possibility for a second interface.
Equivalent SQL commands for above
- Connect to the Virtuoso server via ISQL utility as the DBA user.
- Define a virtual directory mapping for the host alias:
SQL> vhost_define (vhost=>'[first interface]:4444',lhost=>'[first interface]:4444', lpath=>'/',ppath=>'/www2/', def_page=>'index.html', is_brws=>1); SQL> vhost_define (vhost=>'[second interface]:4444',lhost=>'[first interface]:4444', lpath=>'/',ppath=>'/DAV/', is_dav=>1, def_page=>'index.html', is_brws=>1);
| View the source | Action |
|---|---|
| 1. vs_s_6.sql | Set the initial state |
OpenLink Home
Technical Support