The term virtual directory applies to the mechanism to hide the physical location of a Web resource under different path which user agents use to retrieve it. This mechanism in virtuoso is a part of host definition.
This method is useful when one server has to keep many Web sites. Using a redirect mechanism is not a universal way to do this. It is better to define virtual hosts and paths to the directory entries which contain Web pages.
For an overview of virtual directories, and how to configure them in PL, refer to the Virtual Directories Section.
This step by step example will define a virtual directory /help that will point to the directory /departments/support/
From the Conductor UI go to Web Application Server/ Virtual Domains & Directories.
![]() |
Figure: 3.4.1.2.1. Http Hosts and Directories |
Open the "folder" icon for your {Default Web Site}.
![]() |
Figure: 3.4.1.2.1. Edit URL mappings |
Click the link "New Directory" to add a new virtual directory.
![]() |
Figure: 3.4.1.2.1. Add virtual directory |
Select for "Type" File system, as this mapping example will be from one directory to another, and click "Next".
![]() |
Figure: 3.4.1.2.1. Use File system template |
Enter details in the form to define the mapping. Most of the fields are optional. In this example, only the logical and physical paths and the default page name are required. Click finally the button "Save Changes".
![]() |
Figure: 3.4.1.2.1. Mapping details |
The following URLs will then be equivalent:
The term Multi Homing refers to the practice of maintaining more than one server on one machine, differentiated by their apparent host name. It is often desirable for companies sharing a web server to have their own domains, with web servers accessible as www.company1.com and www.company2.com, without requiring the user to know any extra path information.
For an overview of Multi Homing, and how to configure it with PL, refer to the Virtual Hosting and Multi Hosting section.
This step by step example will define a virtual home for the URL http://www.ahelp.com/ to the server www.a.com and directory /departments/support/
Have a domain name allocated in the DNS for the ahelp.com that points to the same IP address of the a.com that is hosting a Virtuoso server.
From the Conductor UI go to Web Application Server/ Virtual Domains & Directories.
![]() |
Figure: 3.4.2.2.1. Http Hosts and Directories. |
To add a new host definition, enter for "Port" 80, enter for "HTTP Host" www.ahelp.com and select the "Add" button.
![]() |
Figure: 3.4.2.2.1. Add new site |
Click for the new defined site the "Edit" link in order to define the mapping between the virtual host and the actual listening host domain names.
![]() |
Figure: 3.4.2.2.1. New site mapping |
Click the "folder" icon for the new defined site and then click the "Edit" link for the Logical Path "/".
![]() |
Figure: 3.4.2.2.1. Set Logical Path |
Enter details in the form to define the mapping. Most of the fields are optional. In this example, only the logical and physical paths and the default page name are required.
![]() |
Figure: 3.4.2.2.1. Mapping details |
The following URLs will then be equivalent:
Previous
Virtual Database Server |
Chapter Contents |
Next
WebDAV |