Online Support Web Hosting

How to create Apache Handlers

Apache is web server software that allows computers to host one or more websites accessible over the Internet via web browsers. Apache handlers instruct the server how certain files are managed.

You can configure Apache to handle a specific file type or extension for your website with an existing handler by manually adding the handler and extension, as shown in the instructions below.

  1. Click Sign Up / Log In at the top of this page.
  2. Select Hosting Manager from the drop-down menu.
  3. Enter your username and password and click Log In.
  4. On the Home page, click Advanced icon or the [ v ] arrow button on its right side, and then select Apache Handlers button.
  5. Enter Handler name in the appropriate field. Apache handlers must be hyphenated (handler-name). See table below for the list of built-in handlers.
    default-handler Default handler for static content.
    send-as-is Send file with HTTP headers just the same.
    cgi-script Consider files as CGI script.
    imap-file Imagemap file.
    server-info Retrieves configuration information of the server.
    server-status Retrieves status report of the server.
    type-map Type map file.
  6. Enter file Extension in the appropriate field.
    • Before the extension name, add a period (.).
    • Separate multiple extensions with space. (e.g. .ppl .perl .egi)
  7. Click Add. Scroll down to view the list of User Defined Apache Handlers.
    To Remove handler, click Trash icon next to Apache Handler you wish to remove.

Congratulations! You just assigned a handler to a specified file extension.

Was this helpful? Yes No 100% of people found this helpful.
Need Help?
Talk to one of our dedicated agents now