vqServer Aliases, files and directories
Web browsers 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 searching its list of aliases (from most specific to least specific) until it finds an alias 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 this is / (the last alias in the standard list of aliases). The real name associated with / 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.
Aliases always begin with /. If an alias refers to a directory the alias and its real name also end with /. Whenever an alias changes vqServer checks it against your computer's file system and adds or removes /s as necessary. |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Aliases pageThe aliases page for a server is displayed when Aliases in the server's options submenu of the control centre menu is clicked. Aliases are displayed in the order vqServer searches them to find the alias matching a request, which is reverse alphabetical order. The following is displayed for each alias.
The New alias link on the control centre menu on this page allows you to add a new alias to the list. |
![]() ![]() ![]() ![]() ![]() ![]() |
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. The form is context-sensitive: only options appropriate to the alias are displayed. If different options become appropriate as a result of editing an alias the form is redisplayed with the appropriate options.
|
![]() ![]() ![]() ![]() ![]() ![]() |
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.06. Copyright © 1997-98 vqSoft and Steve Shering. Last updated 24 October 1998. |
![]() ![]() ![]() ![]() ![]() ![]() |