vqServer File types


vqServer figures out the type of a file from its extension (which is the part of the file's name after the last .). This information is used in several ways:

  1. vqServer has to tell client browsers the MIME type of any data it sends them. vqServer figures out the MIME type of a file from its type.
  2. vqServer allows the use of filter servlets, through which the contents of a file can be passed before being sent to a client. You can specify a filter for files of a particular type (note that filters associated with an alias override filters associated with a file type).
  3. vqServer can tell your computer which CGI script interpreter to use for files of a particular type.

File types page

This page is displayed by clicking on the File types option in the control centre menu. It displays a list of file extensions known to vqServer and the MIME type associated with each extension.

By clicking on one of the icons next to a file type you can:

  • Edit the file type (this displays the settings form for the file type).
  • Delete the file type from the list.

You can also add a new file type to the list by clicking on New file type in the control centre menu.

File type settings form

This page is displayed by clicking on edit icon next to a file type on the file types page. It lets you view and edit information about a file type.

File extension vqServer uses this to identify a file's type.
MIME type The MIME type which is reported to client browsers when the files of this type are requested.
Filter The filter through which files of this type are passed before being sent the client browser. It must consist of an alias (beginning with /) corresponding to a servlet or a list of aliases separated by ;.
Interpreter The CGI script interpreter vqServer calls to interpret files of this type (provided the request matches an alias whose action is set to Run CGI script).
Icon The image that vqServer will display next to files of this type in directory listings. It must be an alias (beginning with /) of a file that vqServer can find. vqServer assumes that all images are 20*20 pixels. Directory listings look best when images are slightly smaller than 20*20 with the extra space at the top of the image.
Delete If this box is checked, vqServer deletes the file type information from its internal list when the Ok button is clicked.


vqServer version 1.9. Copyright © 1997-2000 Steve Shering and vqSoft. Last updated 31 June 1999.

vqServer
FAQs
Register (free!)
Support

Contents

CGI scripts
Sessions