cPanel - Advanced - Apache Handlers
Handlers
Apache handlers determine how the Apache web server processes specific file types and extensions on your website. By default, Apache is set up to handle CGI scripts, and server-parsed files (SSI).. If you want Apache to treat a new file type using an existing handler, you can add it manually below. For instance, to make the server handle files with a .example extension as CGI scripts, enter cgi-script in the Handler field and .example in the Extension(s) field.

Create an Apache Handler
Login to your cPanel and access the option "Apache Handlers".
You can configure Apache to handle a new file type with an existing handler by manually adding the handler and extension.
Apache can handle CGI scripts and server-parsed files. The file extensions for these files include .cgi, .pl, .plx, .ppl, .perl, and .shtml.
To add an Apache handler, perform the following steps:
Enter the handler name in the Handler text box. This can be any name you choose
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 an imagemap rule file
- • 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
Enter the file extension in the Extension(s) text box.
Space-separate multiple extensions (for example, .cgi .pl .ppl).
Click Add.
For more information, read Apache’s documentation.
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 Delete 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.
Related cPanel Tutorials and How To Guides
Simple to use hosting dashboard fix website issues yourself
Tweet Share Pin Email
Add Comment
This policy contains information about your privacy. By posting, you are declaring that you understand this policy:
- Your name, rating, website address, town, country, state and comment will be publicly displayed if entered.
- Aside from the data entered into these form fields, other stored data about your comment will include:
- Your IP address (not displayed)
- The time/date of your submission (displayed)
- Your email address will not be shared. It is collected for only two reasons:
- Administrative purposes, should a need to contact you arise.
- To inform you of new comments, should you subscribe to receive notifications.
- A cookie may be set on your computer. This is used to remember your inputs. It will expire by itself.
This policy is subject to change at any time and without notice.
These terms and conditions contain rules about posting comments. By submitting a comment, you are declaring that you agree with these rules:
- Although the administrator will attempt to moderate comments, it is impossible for every comment to have been moderated at any given time.
- You acknowledge that all comments express the views and opinions of the original author and not those of the administrator.
- You agree not to post any material which is knowingly false, obscene, hateful, threatening, harassing or invasive of a person's privacy.
- The administrator has the right to edit, move or remove any comment for any reason and without notice.
Failure to comply with these rules may result in being banned from submitting further comments.
These terms and conditions are subject to change at any time and without notice.
Essential Image WordPress Plugins
Proper use of Categories and Tags with WordPress
Why You Need Secure SSL WordPress Hosting
Essential Slider WordPress Plugins
Comments