Handlers

From OCFwiki

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

Personal tools