How to Configure Custom Apache Handlers in cPanel

This article describes how to use cPanel to configure custom Apache handlers for your web site. Apache handlers are used to specify how certain file types are processed by the server.


ABOUT APACHE HANDLERS

Apache is an open-source web server that is used to serve your web site's content. Apache handlers specify how certain types of files are processed by the web server. For example, by default Apache is configured to process files that have .pl extensions as Perl files. If you also wanted to process files that have .script extensions as Perl files, you could set up a custom Apache handler for your site.

Note: People are sometimes confused about the difference between MIME types and Apache handlers. MIME types instruct the browser how to process files, whereas Apache handlers instruct the server how to process files.

 

Note: Adding custom Apache handlers can easily alter how your web site functions and cause unintended effects.



ADDING A CUSTOM APACHE HANDLER

To add a custom Apache handler, follow these steps:

  1. In the Advanced section of the cPanel home screen, click Apache Handlers.
  2. Under Create an Apache Handler, type the name of the handler in the Handler text box.

Note: To see a list of handlers available, you can view the System Apache Handlers at the bottom of the page.


      3. In the Extension(s) text box, type the file extension or extensions that you want to be processed by the handler.

Note: You must add a period ('.') before the extension name.


      4. Click Add.


DELETING A CUSTOM APACHE HANDLER

You can delete custom Apache handlers at any time. However, you cannot delete system-wide Apache handlers.

To delete a custom Apache handler, follow these steps:

  1. In the Advanced section of the cPanel home screen, click Apache Handlers. The list of custom Apache handlers is displayed under the User Defined Apache Handlers heading.
  2. Under Remove, click the red X icon for the custom handler that you want to delete.
  3. Click Delete Handler to confirm the deletion.
  • cpanel, Apache, Apache Handlers
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How do I access my CPanel

Every Inspedium Web Hosting Plan comes with CPanel as the hosting control panel. You can access...

How do I update my contact information in CPanel?

To update your contact information in cPanel, you can use the Update Contact Information feature...

How do I change the language of my CPanel?

You can use the Change Language feature to change the default display language of your CPanel...

How to Log in and Log out of cPanel

This article describes how to log in and log out of cPanel. LOGGING IN TO CPANEL To log in to...

Getting familiar with the cPanel Home Screen

This article is an introduction to the cPanel home screen, which is the place to start for...

Powered by WHMCompleteSolution