MyBestRatedWebHosting's MBRW Second Semi-Annual 2011 Hosting Award has been officially announced! Save yourself time and money by reading our detailed review and learn who received the final award of the industry's best web host!

Adding Apache Handlers in cPanel

Adding Apache Handlers in cPanel

Apache is the most popular web server in the world, certain to be installed on nearly every Linux-based server and a many Windows machine as well. As a web server application, Apache helps to serve your web pages to the browser. Apache handlers instruct Apache on how to deal with files that need to be processed by the server. By default, Apache performs a predetermined action whenever it runs across a particular file type. If you want the server to do something else, you need to create an Apache handler to make it perform that specific action. For example, if one of your mpg. files require a specific server function in order to properly stream content, you will need to instruct Apache to treat this file differently.

Though setting up Apache handlers can be a complex undertaking, the process is streamlined and simplified when working with cPanel. This tutorial will walk you through the steps of creating Apache handlers within your cPanel control panel.

Getting Started

By default, cPanel comes with a number of Apache handlers. Depending on your version of the software, you may have server-parsed handlers with .shtml extensions and cgi-script handlers with .cgi .pl .plx .ppl and .perl extensions.

– To get started, login into your cPanel account and from the main page, locate and click on the “Apache Handlers” icon under the “Advanced” category.

– On the Apache Handlers main page, you will prompted to enter information in the following text fields: Handler and Extension(s). Enter the required information in their respective fields and click the on the “Add” button.

Next, you will be directed to a page with a message stating that your Apache Handler has been assigned to the extension you specified.

When clicking the Go Back link, you will be taken back to the Apache Handlers main page. You should then see the new handler you created below in the User Defined Apache Handlers table.

Removing Apache Handlers

There may come a time when you no longer require a special action for the file types you specified. When this is the case, you can easily remove the handlers you created right from the Apache Handler interface.

– Like we did previously, navigate the cPanel main page and click on the Apache Handler icon from the “Advanced” category.

– On the Apache Handlers main page, navigate to the “Apache Handlers List” and locate the one you want to remove. Make the appropriate selection and click on the “Delete” tab.
On the next page, you should see a message stating that an Apache handler was removed for a particular extension.

If you find that files with their special handlers are not opening properly, remove the handlers, recreate them and see if that works. You should keep in mind that Apache handlers primarily work with server-side programming technologies. Before adding an Apache handler in cPanel, you may want to inquire within your web host first. They might be able to make simple adjustments that help out with your plans and spare you the trouble.

Related Articles

  • Top 5 cPanel Hosts
  • All MBRW cPanel Tutorials
  • Be Sociable, Share!
    « »

    Submit your Review