Handlers

From OCF Help

Revision as of 07:16, 2 November 2007 by Sle (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search

A handler specifies how the web server interprets a file. The OCF web server determines what to do with a file by checking the file's extension.

Default handlers

The full list of recognized extensions is too long to list, but some of the more common ones are:

Suffix File Type
.htmlHypertext
.shtmlServer-parsed Hypertext (SSI)
.cgiExecutable CGI script
.phpPHP script (PHP 4)
.php5PHP script (PHP 5)
.plPerl script
.txtPlain text
.psPostScript
.binBinary file
.gifGIF image
.jpgJPEG image
.tiffTIFF image

External links