How do I setup customized Apache Handlers?

cPanel 94.0.4 - web-hosting control panel

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

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.
  • 0 Els usuaris han Trobat Això Útil
Ha estat útil la resposta?

Articles Relacionats

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

cPanel 94.0.4 - web-hosting control panel Advanced: Error Pages Overview With this tool you...

How do I create custom MIME Types?

cPanel 94.0.4 - web-hosting control panel Advanced: MIME Types Overview MIME Types tell...