UnixServerAdmin

Server Administration & Management

What are Apache Handlers & How to setup customized 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.

“Creating An Apache Handler”
1. Log into your cPanel.
2. Locate the Advanced menu.
3. Locate and click on the Apache Handlers icon.
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.

Advertisements

March 28, 2011 - Posted by | Apache, cPanel | ,

2 Comments »

  1. This is a great write-up. Thank you for bothering to detail this all out for folks. It’s a great guide!

    Comment by Denver Hartrick | June 15, 2011 | Reply

  2. Thank you so much for this airtlce, it saved me time!

    Comment by Kamron | June 30, 2011 | Reply


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: