Apache Handlers in cPanel & WHM


Apache Handlers

Legitimate for variations 82 by the newest model

Final modified: 2024 Might 6


On the lookout for this interface?

Overview

Apache handlers management how your website’s Apache net server software program manages sure file sorts and file extensions. Apache can deal with CGI scripts and server-parsed recordsdata. The file extensions for these recordsdata embrace .cgi, .pl, .plx, .ppl, .perl, and .shtml.

You may configure Apache to make use of an present handler to deal with a brand new file sort. To do that, manually add the handler and extension on this interface.

Create an Apache Handler

So as to add an Apache handler, carry out the next steps:

  1. Enter the handler identify within the Handler textual content field. cPanel consists of the next built-in handlers:
    • default-handler — Sends the file and makes use of Apache’s default handler for static content material.
    • send-as-is — Sends the file with HTTP headers intact.
    • cgi-script — Handles the file as a CGI script.
    • imap-file — Parses the file as an imagemap rule file.
    • server-info — Retrieves the server’s configuration data.
    • server-parsed — Parses the file for server-side consists of.
    • server-status — Retrieves the server’s standing report.
    • type-map — Parses the file as a kind map file.
  2. Enter the file extension within the Extension(s) textual content field.
    • A file extension consists of the letters after the dot (.) in a file identify (for instance, filename.fileextension).
    • Area-separate a number of extensions (for instance, .cgi .pl .ppl).
  3. Click on Add.

Word:

This interface does not assist you to create customized Apache handlers.

Take away an Apache Handler

To take away a user-defined handler, carry out the next steps:

  1. Click on Delete beneath the Take away heading for the suitable handler within the Person Outlined Apache Handlers desk.
  2. Click on Sure.

Word:

You can not take away the file extensions that Apache mechanically handles.



Supply hyperlink


Posted

in

by

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.