Name

AddHandler

Synopsis

                     AddHandler 
                     handler-name 
                     extension 
                     ...

[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

Get Webmaster in a Nutshell, Third 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.