Web Server Setup
VS-S-3 Examples of Mapping
Creating a virtual directory to proxy to another server
Preliminaries
- The Virtuoso Web server can act as a proxy server for HTTP requests.
- If request from a user-agent is a proxy request, then the Web server will try to retrieve the URL, and will send the response and entity body back to the user-agent.
- The virtual directory mapping can be setup when physical location is a Web server. The local URL will then be treated by the Web server as a proxy request.
Login to the Conductor UI using the dba account.
Example virtual directory setup to another HTTP server
- Go to "Web Application Server" tab and then go to the "Virtual Domains & Directories" tab.
- From the given list of HTTP Hosts click the icon infront of the Interface value.
- Click the "Add new directory" link.
- Choose the "Proxy server" type and press the button "Next>>".
- Enter "/proxy" for Virtual directory path, "http://[desired_host:port]/" for Proxy to, and then press the "Save Changes" button.
To test the new directory: enter the "http://your_host:port/proxy" in browser. If all is ok, the content of the web tutorial directory is shown.
Equivalent SQL commands to above
- Connect to the Virtuoso server via ISQL utility as DBA user.
- Create the virtual directory with physical path "http://host:port/"
SQL> vhost_define (vhost=>'*ini*',lhost=>'*ini*',lpath=>'/proxy',ppath=>'http://host:port/');
| View the source | Action |
|---|---|
| 1. vs_s_3.sql | Set the initial state |
OpenLink Home
Technical Support