common Handler

The common handler performs a common behavior of a web server. It depends on the file and dirlist handlers. When a directory is requested it will display its contents, but if a file is requested it will serve the file.

Parameters

Please refer to file and dirlist handlers for a list of parameters.

Examples

The following examples enables a user to view the contents of /download and download files:

vserver!default!directory!/download!handler = common

You may also use parameters from either the file or dirlist handlers. To display a header file when common displays directory contents use:

vserver!default!directory!/download!handler = common
vserver!default!directory!/download!handler