vqServer Files and aliases
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 a directory listing together with the aliases corresponding to each file and directory, click on Files under Main web server. To display the aliases or directory listing 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 either Aliases or Files. 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 you change an alias' settings vqServer checks it against your computer's file system and adds or removes /s as necessary. An alias can also refer to a Java package. In this case the alias and its real name should end with a dot. In the default configuration supplied with vqServer, this method is used to alias the special internal servlets. It's almost impossible for vqServer to check such aliases (the package might be in an archive or on the CLASSPATH) so you'll have to carefully check any such aliases yourself. You can't use this method if the package is on the CLASSPATH and its name confilicts with the name of a subdirectory of website/. |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Files page
The files page for a server is displayed when
The following is displayed for each file or directory.
You can:
|
![]() ![]() ![]() ![]() ![]() ![]() |
Aliases page
The aliases page for a server is displayed when
The following is displayed for each alias.
The |
![]() ![]() ![]() ![]() ![]() ![]() |
Alias settings
This form is displayed when some links on a files page are clicked or when
a 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
The following is displayed for each parameter.
If the alias corresponds to a single servlet which is currently initialised a button labelled Reinitialise this servlet is displayed underneath the list of parameters which allows you to reinitialise the servlet after changing its initialisation parameters.
The
vqServer version 1.9. Copyright © 1997-2000 Steve Shering and vqSoft. Last updated 13 March 2000. |
![]() ![]() ![]() ![]() ![]() ![]() |