Bluehost India Web Hosting Help

Apache Handlers

Problem:

What are Apache Handlers? How do I setup customized Apache Handlers?

Solution:

Apache handlers allow you to control what Apache will do with certain file types. When Apache sees a file, it has an action built in for that file type, and will perform that action. If you wish Apache to do a different action, you will need to make a handler to tell Apache to perform that action. For example, if you use a file type that requires a special service to run it, such as a file with server side includes that is not named with a .shtml extension, you need to tell Apache to treat these files differently. More information on Apache's Handlers can be found at http://httpd.apache.org/docs/2.2/handler.html.

Creating An Apache Handler

  1. Log into your Bluehost India cPanel.
  2. Go to the "Advanced" group of icons.
  3. Click on "Apache Handlers".
  4. Enter the handler you want to create in the first empty text box.
  5. In the second empty text box, enter the extension the handler will use when being called.
  6. Click on the Add button.
  7. Click on the Go Back button to return to the Main cPanel menu.
Knowledgebase Article 219,532 views bookmark tags: apache handler handlers


Was this resource helpful?

Did this resolve your issue?


Please add any other comments or suggestions about this content:





Recommended Help Content

Easy Apache

This article will explain how to use Easy Apache to recompile Apache. This is useful if you want to change the version of PHP or change other PHP and Apache settings.

How To Add Handlers To Change PHP Version - PHP Version Setup

This article will explain how to add a PHP handler to your .htaccess files. This is useful if you want to customize the version of PHP that runs your PHP files.

Server Side Includes SSI

How do I use .html files to run SSI (Server Side Includes)?

Related Help Content

Mod_Rewrite

Do you support mod_rewrite for apache?

Must I restart Apache after changing a htaccess file?

Hard refresh after changing the .htaccess

Email Application Setup - Outlook 2016 for Windows

How to setup an email account in Outlook 2016 for Windows

Email Application Setup - Outlook 2016 for Mac

How to setup an email account in Outlook 2016 for Mac

FTP Setup Using Dreamweaver 8

How do I setup Dreamweaver 8 for FTP?

Email Application Setup - Mozilla Thunderbird

This guide will show step-by-step instructions for setting up E-mail on Mozilla Thunderbird for Windows, Mac OS X, and Linux. Due to differences in the operating systems, some screens and steps might

Change Your PHP Version - Dedicated and VPS Hosting

Changing PHP versions, load custom Apache mods, and other Apache/PHP customizations

How To Setup FTP Using Filezilla

I would like to use FileZilla how do I go about the setting it up and connecting to my site?