Name

AddHandler

Synopsis

AddHandler handler-name extension ...

Description

[server config, or within <VirtualHost> or <Directory>, or .htaccess]

Maps one or more filename extensions to a specific handler for the server. For example, for CGI scripts, you might use the following:

AddHandler cgi-script cgi

(Apache 1.1 or later)

Get Webmaster in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.