How do I setup customized 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 click here.

Creating An Apache Handler

  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?

Also Read
How to customize Error Pages on my website?

With this tool you can create custom error pages to display when a user enters a wrong URL, an...

How do I create custom MIME Types?

MIME Types tell browsers how to handle specific file extensions. For example, the text/html MIME...