Apache Handlers
- Enter the handler name in the Handler text box. cPanel includes the following built-in handlers:
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 animagemap
rule file.server-info
— Retrieves the server’s configuration information.- For more information, read Apache’s documentation.
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.- For more information, read Apache’s documentation.
- For more information, read Apache’s documentation.
- Enter the file extension in the Extension(s) text box.
- A file extension consists of the letters after the dot (
.
) in a file name (for example,filename.fileextension
). - Space-separate multiple extensions (for example,
.cgi .pl .ppl
).
- A file extension consists of the letters after the dot (
- Click Add.
Note:
This interface does not allow you to create custom Apache handlers.
Remove an Apache Handler
To remove a user-defined handler, perform the following steps:
- Click the X button under the Remove heading for the appropriate handler in the User-Defined Apache Handlers table.
- Click Yes.
Note:
You cannot remove the file extensions that Apache automatically handles.