Aliases

Aliasing Overview
Directory aliases can be useful in several situations.  They can provide access to documents that are not under the virtual root directory of the server such as additional content you may not have room for on the WebServUSB, or for getting content across the network from a mapped drive on another PC.

You can map additional drives or folders using the ALIAS function in the Server Configuration Menu. For example, lets say you have another external USB or Firewire hard drive that shows up as drive F: in "My Computer" you could create a folder in it with other web content say named, "webstuff". and create an Alias called "extra" which is mapped to F:\webstuff When you then make a URL to the WebServUSB it would be something like this: http://localhost/extra/mypage.htm You could also map folders on drive C: but that negates some of the security value of WebServUSB because it then uses the same hard drive as your operating system.

It also provides a way to change the physical name or location of a directory, without having to change your html files to reflect the new location.

If WebServUSB were installed in E:\WebServUSB and had the virtual root set to E:\WebServUSB\Docs, then a request for http://<your machine>/images/back1.jpg, would by default serve the back1.jpg image from E:\WebServUSB\Docs\images\.  If you were to setup an alias as:

    [Alias] [Directory]

    /images/ \MyImages\

Now when the identical request of http://<your machine>/images/back1.jpg is served, it would serve back1.jpg from D:\MyImages\ rather than E:\WebServUSB\Docs\images\.

See the Alias Configuraton window (pop up)