<-
Apache > HTTP Server > Documentation > Version 2.4

Apache's Handler Use

Available Languages:  en  |  es  |  fr  |  ja  |  ko  |  tr  |  zh-cn 

This document describes the use of Apache's Handlers.

Support Apache!

See also

top

What is a Handler

A "handler" is an internal Apache representation of the action to be performed when a file is called. Generally, files have implicit handlers, based on the file type. Normally, all files are simply served by the server, but certain file types are "handled" separately.

Handlers may also be configured explicitly, based on either filename extensions or on location, without relation to file type. This is advantageous both because it is a more elegant solution, and because it also allows for both a type and a handler to be associated with a file. (See also Files with Multiple Extensions.)

Handlers can either be built into the server or included in a module, or they can be added with the Action directive. The built-in handlers in the standard distribution are as follows: