How do I setup customized Apache Handlers?

Advanced: Apache Handlers

The following information assumes you are logged into cpanel.
To do this, either log into the client area here https://www.smartartist.com.au/clients/whmcs/clientarea.php and click on the "log into cpanel" button for the particular domain.
or access cpanel directly using the URL http://<<your-domain-name-here>>/cpanel/
Your cpanel username and password is provided in your welcome email.

What are Apache Handlers?

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/1.3/handler.html.

Creating An Apache Handler

Steps
  1. Enter the handler you want to create in the first empty text box.
  2. In the second empty text box, enter the extension the handler will use when being called.
  3. Click on the Add button.

Was this answer helpful?

 Print this Article

Also Read

How do I create custom MIME Types?

Advanced: MIME Types The following information assumes you are logged into cpanel.To do this,...

How do I customize my web site's Error Pages?

Advanced: Error Pages The following information assumes you are logged into cpanel.To do this,...

Using the Index Manager

Index Manager CLICK HERE TO VIEW THE VIDEO TUTORIAL   When accessing a directory (rather...