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.

March 28, 2011 Posted by | Apache, cPanel | , | 2 Comments