Web750 Support Articles and How-to guides:

cPanel guide to advanced file type and extension settings – Apache handlers, MIME types, and Errors Pages customization.


In web hosting and server management, understanding advanced settings like Apache handlers, MIME types, and error pages can be the key to fine-tuning your website's performance, functionality, and overall user experience.

These settings might seem complex at first glance, but they offer incredible flexibility and customization options for your web server through cPanel. This guide aims to demystify these advanced settings and provide you with a comprehensive understanding of how to configure Apache handlers, MIME types, and error pages effectively.

By mastering these aspects of server management, you'll have the tools to optimize your website's performance and deliver a seamless user experience.

Understanding Advanced Settings in cPanel

cPanel offers advanced settings that give users more control over their hosting environment, server configurations, and website management. These settings allow users to fine-tune their websites, enhance security, and optimize performance. While the exact list of advanced settings might vary based on your hosting provider and cPanel version, here are some common examples of advanced settings you might find in cPanel:

Apache Handlers

MIME Types

Error Pages

Cron Jobs

PHP Configuration

Security Settings

Advanced DNS Zone Editor

SSH Access

Advanced Mail Settings

Indexes and Directory Privacy

Software Installation

Optimize Website

SSL/TLS Management

Virtual Hosts

Apache Handlers in cPanel

Demystifying Apache Handlers and Their Role

Apache handlers are a fundamental aspect of web server configuration, enabling you to dictate how specific file types are processed and served to users. By understanding and effectively configuring Apache handlers, you can take charge of content processing, optimize site performance, and provide tailored experiences to your audience.

Creating an Apache Handler:

Access your cPanel account using your username and password.

In the cPanel dashboard, search for the "Apache Handlers" icon or option. It's usually located in the "Advanced" section. Click on it to proceed.

In the Apache Handlers interface, you'll see an option to add a new handler. Click on it to open the handler creation form.

Provide Handler Details:

Handler: Enter the handler type. That can be the name of a script or a predefined handler.

Extension: Specify the file extension you want to associate with the handler (e.g., .php, .pl).

Action: Define what should happen when accessing a file with the specified extension. That could be executing a script or a different activity.

Set Priority (Optional): If you have multiple handlers for the same extension, you can prioritize them. The server will use the first matching handler.

Save Changes.

Removing an Apache Handler:

Access your cPanel account.

Click the "Apache Handlers" option in the "Advanced" section.

Locate the handler you want to remove from the list.

Click the "Delete" or "Remove" option next to the handler.

When prompted, select "Yes, delete this entry".

Save Changes

MIME Types for Rich Content Delivery in cPanel

MIME (Multipurpose Internet Mail Extensions) types might sound technical, but they are crucial in ensuring the right content is presented to users' browsers. Understanding MIME types and effectively managing them in cPanel empowers you to deliver a diverse range of content seamlessly.

Adding MIME Types in cPanel

Access your cPanel account using your credentials.

Navigate to the "Advanced" or "Files" section within cPanel and find the "MIME Types" option. Click on it.

Click on the "MIME Types" option to open the interface for managing MIME types.

Add New MIME Type:

MIME Type: Enter the MIME type definition (e.g., application/pdf for PDF files).

Extension: Specify the corresponding file extension (e.g., pdf).

Click "Add" or "Save": After entering the details, click the "Add" or "Save" button to create the new MIME type.

Deleting a MIME Type:

Log in to cPanel.

Identify MIME Type

Remove MIME Type

Next to the MIME type you wish to remove, you should see a "Delete" or "Remove" option.

Click on this option to initiate the removal process.


Save Changes

Custom Error Pages for a User-Centric Experience in cPanel

Editing a Custom Error Page:

Log in to cPanel.

Locate "Error Pages" in the "Advanced" or "Files" section and click on it.

Access the "Error Pages" interface.

Select the error code you want to edit (e.g., 404 or 500).

Edit the HTML content of the error page in the cPanel editor.

Save your changes using the "Save" or "Update" button.

Optionally, preview the edited error page.

Test the error page by intentionally triggering the error.

Confirm that the revised error page displays correctly and conveys the desired message.

Creating Personalized Error Pages via cPanel

cPanel makes it easy to generate unique error pages, letting you craft messages that speak to your target audience and complement the aesthetics of your site.

Steps to Create Custom Error Pages:

Log in to cPanel: Access your cPanel account using your credentials.

Find "Error Pages: “Navigate to the "Advanced" or "Files" section within cPanel and locate the "Error Pages" option. Click on it.

Access Error Pages Interface: Click on the "Error Pages" option to access the interface for creating custom error pages.

Select Error Page: Choose the error code you want to create a custom page for (e.g., 404, 500).

Design Your Page: Using HTML, create a user-friendly and informative error message. Incorporate your brand's design elements and maintain a consistent tone.

Save Changes: After designing the error page, save your changes to make the custom page active.


In this cPanel guide to advanced settings – Apache handlers, MIME types, and error pages, we've delved into the intricacies of configuring and optimizing these critical web hosting components. By clearly understanding Apache handlers, you can control how your server processes different types of files, enhancing your website's functionality.

By managing MIME types, you can fine-tune how browsers interpret content, ensuring compatibility and performance. And finally, crafting custom error pages allows you to provide informative and user-friendly responses when unplanned.

By taking advantage of these superior configuration options, your web hosting service will be more productive, user-friendly, and adaptable. Whether you're a web developer seeking performance enhancements or a website owner looking to improve the user experience, mastering these advanced settings in cPanel opens up a world of possibilities for optimizing your web presence.

As you continue to explore and experiment with these settings, you'll discover new ways to enhance your website's functionality and deliver an exceptional online experience to your audience.

Useful links / Resources

  • Apache Handlers (cPanel)

  • MIME types (cPanel)

  • Error Pages (cPanel)

  • Support Article (in Spanish)

  • Support Article (in Portuguese)

  • cPanel cloud web hosting plans (Web750)

  • Go back to Web750