VentraIP Support Centre home page
Search...
⌘K
Homepage
VIPcontrol
VIPcontrol
Search...
Navigation
Development & cPanel
Adding and managing Apache handlers
Home
Domain Names
DNS
Email Hosting
Web Hosting
SSL & Security
VIPsites
Status
Recovery
Contact us
Web Hosting Home
cPanel Hosting
Quickstart
Understanding cPanel
cPanel Management
Backup & Recovery
FTP & File Management
Troubleshooting
Advanced
Development & cPanel
Creating a staging environment in cPanel
Creating a robots.txt file for your website
Restricting access to your website during development
Creating a sub-domain in cPanel
Creating an Addon domain in cPanel
Creating an alias or parked domain in cPanel
Changing the username for your cPanel account
Setting up a git repository in cPanel
Setting up a NodeJS application in cPanel
Setting up a Python app in cPanel
Setting up a Ruby web application in cPanel
What is cgi-bin?
Locating and editing the '.htaccess' file
Modifying the default (index) file a webpage loads from
Moving a sub-domain between cPanel accounts
Testing your website before pointing your domain to our servers
Adding a temporary URL to your website for testing
Third-party website monitoring services
Copying addon domain data between cPanel accounts
Create custom error pages using cPanel
Create redirects using the .htaccess file
Removing an addon domain from cPanel
Adding and managing Apache handlers
Setting up a landing page using cPanel's Site Publisher
Changing the document root for a primary domain name
Clearing LiteMage cache in Magento
Creating automated tasks (cron jobs) in cPanel
Disable directory browsing on a hosting service
Enabling LiteMage Cache on a Magento 1.X store
Enabling LiteMage Cache on a Magento 2.X store
Installing and running Perl scripts in cPanel
Performance and Optimisation
PHP
MySQL/MariaDB Database Management
Secure Shell Access (SSH)
WHM/Legacy Reseller
Getting Started with WHM - Step 1: Logging in
Getting Started with WHM - Step 2: Navigation and Initial Configuration
Getting Started with WHM - Step 3: Creating new account packages
Getting Started with WHM - Step 4: Creating new cPanel accounts
SSH access for cPanel accounts under a WHM Multi service
Changing the Primary domain on a Reseller cPanel sub-account hosting service
Legacy WHM and Reseller Plan specifications
What is legacyservicemanagement.com and how do I log in?
WordPress / CMS
Getting Started
cPanel Plugins
WordPress Tips and Tricks
Performance and Optimisation
Troubleshooting
Wordpress User Accounts
VPS
General Information
Fully Managed VPS
Self Managed VPS
Website Migrations
Everything You Need to Know About Your Website Transfer
Migrating a hosting service from another provider
Migrating to VentraIP when your current host doesn't use cPanel
Migrating your website from another control panel
Automating your legacy migration with VentraIP
Can I get a migration done ASAP?
Transferring an existing website from WordPress.com
How to prepare for a migration from a legacy hosting service
On this page
What are Apache Handlers?
How can I set up a new Apache Handler?
cPanel Hosting
Advanced
Development & cPanel
Adding and managing Apache handlers
What are Apache Handlers?
Apache Handlers control how the webserver manages certain types of file types and extensions. By default, there are rules in place to handle .perl and .shtml files, for example. You can add your own to adjust the behavior of the webserver.
How can I set up a new Apache Handler?
Log in to cPanel
.
Click on
Apache Handlers
under
Advanced
.
Under
Create an Apache Handler
, you can fill out the following fields to define your new handler:
Handler
, which can be set to any of the following:
default-handler
- Sends the file using the web server’s default handler.
send-as-is
- Sends the file as-is, no processing.
cgi-script
- Processes the file as a CGI script.
imap-file
- Parses the file as an imagemap rule file.
server-info
- This will send the server’s configuration information.
server-parsed
- This will send the server’s status information.
type-map
- Parses the file as a type-map file.
Extension
(s): This is where you will input the file extensions you want to be handled (e.g., “.html .php .txt”).
Click
Add
.
Removing an addon domain from cPanel
Setting up a landing page using cPanel's Site Publisher
Assistant
Responses are generated using AI and may contain mistakes.