We have a new documentation site for cPanel & WHM! You can find our new documentation site at docs.cpanel.net.
We will continue to maintain our API documentation on this server.
For cPanel & WHM 11.48
(Home >> Advanced >> Apache Handlers)
Apache handlers control how your site’s Apache web server software manages certain file types and file extensions. Apache can handle CGI scripts and server-parsed files. The file extensions for these files include
You can configure Apache to use an existing handler to handle a new file type. To do this, manually add the handler and extension in this interface.
To add an Apache handler, perform the following steps:
default-handler— Sends the file and uses Apache’s default handler for static content.
send-as-is— Sends the file with HTTP headers intact.
cgi-script— Handles the file as a CGI script.
imap-file— Parses the file as an
server-info— Retrieves the server’s configuration information.
server-parsed— Parses the file for server-side includes.
server-status— Retrieves the server’s status report.
type-map— Parses the file as a type map file.
.) in a file name (for example,
.cgi .pl .ppl).
This interface does not allow you to create custom Apache handlers.
To remove a user-defined handler, perform the following steps:
You cannot remove the file extensions that Apache automatically handles.