X
X

Launch Offer! Upto 80% Discount

How to Use Manage Apache Handlers in cPanel?


Apache handlers tell the server how to manage certain file types and extensions.For example, you can specify that files with a particular extension should be processed as PHP scripts. Follow these steps to manage Apache handlers in cPanel:

  1.  Log in to cPanel
    If you’re not logged in, enter your cPanel username and password to access the cPanel dashboard.
  2. Find the Apache Handlers Icon
    Search for the "Advanced" option on your dashboard within cPanel. Click on the "Apache Handlers" icon. It usually looks like a gear or tool.
  3. Add a New Handler
    To create a new handler, go to the "Create an Apache Handler" section.
    1. In the "Handler" field, enter the name of the handler (e.g., application/x-httpd-php to handle PHP files).
    2. In the "Extension(s)" field, enter the file extension(s) you want this handler to manage. For example, enter .php to handle PHP files. To create the handler, click on the "Add" button.
  4. Remove an Existing Handler
    Go to the "User-Defined Apache Handlers" section and select the handler you want to delete. Find the handler you want to remove and click the "Delete" link next to it.
    Confirm the deletion when prompted.
  5. View System Handlers
    Scroll down to the "System Apache Handlers" section to see a list of default handlers set by the system. These cannot be modified but provide a reference for how certain file types are handled by default.


Now you can manage Apache handlers in cPanel to control how your server processes different file types.

Top