vqServer: Aliases, files and directories
Web browsers usually ask web sites for files by name. vqServer interprets this name as an alias and translates it to the file's real name using an internal list. Each alias is also associated with information which tells vqServer how to handle the request. There is a different list of aliases for each server. To display the aliases for the main web server, click on Aliases under Main web server in the control centre menu. To display the aliases for another server, click on Server in the control centre menu, then click on the name of the server you are interested in, then click on Aliases. vqServer processes requests by finding the first entry in its list of aliases which matches the request. The part of the requested file name which matches the alias is replaced with the real name corresponding to the alias to determine the real name of the file requested. For example, suppose that a web browser requests the file index.html form your web site. The first alias which matches index.html is the blank alias (the last alias in the standard list of aliases). The real name associated with the blank alias is public. vqServer therefore responds to the request by sending the file public/index.html where public is interpreted as a subdirectory of the website directory.
To summarise three important features of the alias system:
|
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Aliases pageThe aliases page for a server is displayed when Aliases in the server's options submenu of the control centre menu is clicked. The New alias link in the menu on this page allows you to add a new alias to the list. The following is displayed for each alias.
|
![]() ![]() ![]() ![]() ![]() ![]() |
Alias settingsThis form is displayed when a Settings icon is clicked in an aliases page. It provides control over the main characteristics of an alias.
|
![]() ![]() ![]() ![]() ![]() ![]() |
Alias parametersEach alias is associated with a list of parameters. Parameters are meaningful only in the context of Java servlets and CGI scripts:
To display the parameters associated with an alias click on the icon in the Parameters column next to the alias in a list of aliases. The buttons underneath the list of parameters are as follows:
vqServer version 1.03. Copyright © 1997-98 vqSoft and Steve Shering. Last updated 27 May 1998. |
![]() ![]() ![]() ![]() ![]() ![]() |