Apache Handlers

Location: Advanced/Apache Handlers

 

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

 

1. Enter the handler you want to create in the "Handler" text box.

 

2. Enter the extension the handler will use when being called in the "Extensions(s)" text box.

 

3. Click on the "Add" button.

 

4. The confirmation page should show something similar to the following:

 

"The handler YOUR_HANDLER has been assigned to the extensions YOUR_EXTENSION."

 

5. Click on the "Go Back" link.

 

6. When the page loads, you will see your new handler in the "Apache Handler List" table.

 

Removing An Apacher Handler

 

1. When the page loads, find the apache handler you want to remove in the "Apache Handler List" table.

 

2. Click on the "x in a circle" icon in the "Remove" column associated with the apache handler row you want to delete.

 

3. The next page requests a confirmation. Click on the "Yes" button.

 

4. The confirmation page should show something similar to the following:

 

"The handler for YOUR_EXTENSION has been removed."