{"id":1237,"date":"2017-05-08T15:36:55","date_gmt":"2017-05-08T15:36:55","guid":{"rendered":"https:\/\/www.xsofthost.com\/help\/?p=1237"},"modified":"2021-03-16T23:19:55","modified_gmt":"2021-03-16T23:19:55","slug":"configure-and-create-or-delete-custom-apache-handlers-in-cpanel","status":"publish","type":"post","link":"https:\/\/www.xsofthost.com\/help\/configure-and-create-or-delete-custom-apache-handlers-in-cpanel\/","title":{"rendered":"Configure Create Delete custom Apache handlers in cPanel"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"1237\" class=\"elementor elementor-1237\">\n\t\t\t\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-af269c6 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"af269c6\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-0fe7cc9\" data-id=\"0fe7cc9\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-element elementor-element-d91704f elementor-widget elementor-widget-text-editor\" data-id=\"d91704f\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p><strong>Apache handlers<\/strong> control how your Apache web server software that host your site to manages certain file types and file extensions.\u00a0<\/p>\n<p><a href=\"https:\/\/www.apache.org\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Apache<\/a> can accept and route specific traffic to certain ports and domains based on specific address-port combination requests. By default, Listen runs on port 80 but Apache can be bound to different ports for different domains, allowing for many different websites and domains to be hosted and a single server.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-a89ca6a elementor-widget elementor-widget-text-editor\" data-id=\"a89ca6a\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p><a href=\"https:\/\/www.xsofthost.com\/help\/tag\/apache\/\" rel=\"noopener\">Apache Web server<\/a> can handle CGI scripts and server-parsed files. The file extensions for these files include .cgi, .pl, .plx, .ppl, .perl, and .shtml. If you also wanted to process files that have .script extensions as Perl files, you could set up a custom Apache handler for your site.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-fa864fb elementor-widget elementor-widget-code-highlight\" data-id=\"fa864fb\" data-element_type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"prismjs-default  word-wrap\">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-php \">\n\t\t\t\t<code readonly=\"true\" class=\"language-php\">\n\t\t\t\t\t<xmp>The difference between MIME Types and Apache handlers. MIME types instruct the browser how to process files, whereas Apache handlers instruct the web server how to process files.\n<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-6dd9a07 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"6dd9a07\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-d3aa125\" data-id=\"d3aa125\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-element elementor-element-a5a16b9 elementor-widget elementor-widget-heading\" data-id=\"a5a16b9\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Main Features of Apache Web Server<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-de2e61a elementor-widget elementor-widget-text-editor\" data-id=\"de2e61a\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<ul>\n<li>Handling of static files<\/li>\n<li>Loadable dynamic modules<\/li>\n<li>Auto-indexing<\/li>\n<li>.htaccess<\/li>\n<li>Compatible with IPv6<\/li>\n<li>Supports HTTP\/2<\/li>\n<li>FTP connections<\/li>\n<li>Gzip compression and decompression<\/li>\n<li>Bandwidth throttling<\/li>\n<li>Perl, PHP, Lua scripts<\/li>\n<li>Load balancing<\/li>\n<li>Session tracking<\/li>\n<li>URL rewriting<\/li>\n<li>Geolocation based on IP address<\/li>\n<\/ul>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-a6c7023 elementor-widget elementor-widget-heading\" data-id=\"a6c7023\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">How to Add Custom Apache handler<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-5dfd3c5 elementor-widget elementor-widget-text-editor\" data-id=\"5dfd3c5\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<ol>\n\t<li>Login to your\u00a0<strong>cPanel<\/strong>\u00a0control panel.<\/li>\n\t<li>From home cPanel dashboard page locate\u00a0<strong>Advanced section<\/strong>\u00a0and click\u00a0<strong>Apache Handlers<\/strong>\u00a0icon.<\/li>\n\t<li>From Apache Handlers Page under\u00a0<em>Create an Apache Handler<\/em>\u00a0enter the followings:\n\n<ol>\n\t<li><strong>Handler<\/strong>:Enter the handler name in the Handler text box.Please note that Apache handler names must include a hyphen (for example, handler-<strong>customname<\/strong>)<\/li>\n\t<li><strong>Extension(s)<\/strong>:Enter the file extension or extensions that you want to be processed by the handler. You should add period (\u2018.\u2019) before the extension name.To add more than one extension enter Space-separate between multiple extensions (for example, .cgi .pl .ppl).<\/li>\n<\/ol>\n<\/li>\n\t<li>Click<strong>\u00a0Add button.<\/strong><\/li>\n<\/ol>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-b186209 elementor-widget elementor-widget-code-highlight\" data-id=\"b186209\" data-element_type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"prismjs-default  word-wrap\">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-html \">\n\t\t\t\t<code readonly=\"true\" class=\"language-html\">\n\t\t\t\t\t<xmp>From this Page you can view the System Apache Handlers that supported by web server Apache.<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-c80e78a elementor-widget elementor-widget-heading\" data-id=\"c80e78a\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<div class=\"elementor-heading-title elementor-size-default\">Please note that Adding custom Apache handlers can cause unintended effects.\n<\/div>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-3672749 elementor-widget elementor-widget-heading\" data-id=\"3672749\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">How to Delete User Defined Apache Handlers<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-76650b1 elementor-widget elementor-widget-text-editor\" data-id=\"76650b1\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<ol>\n<li>Login to your\u00a0<strong>cPanel<\/strong>\u00a0control panel.<\/li>\n<li>From home cPanel dashboard page locate\u00a0<strong>Advanced section<\/strong>\u00a0and click\u00a0<strong>Apache Handlers<\/strong>\u00a0icon.<\/li>\n<li>From Apache Handlers Page under\u00a0<em>Create an Apache Handler<\/em>\u00a0table you can choose the user custom Apache handler that you added and from the action column click Delete link to remove the\u00a0Apache handler.And click\u00a0<strong>Delete Handler<\/strong>\u00a0confirm button to remove permanently the Apache handler.<\/li>\n<\/ol>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Apache handlers control how your Apache web server software that host your site to manages certain file types and file extensions.\u00a0 Apache can accept and route specific traffic to certain ports and domains based on specific address-port combination requests. By default, Listen runs on port 80 but Apache can be bound to different ports for [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":280,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[31,5],"tags":[32,169,4,168],"_links":{"self":[{"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/posts\/1237"}],"collection":[{"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/comments?post=1237"}],"version-history":[{"count":81,"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/posts\/1237\/revisions"}],"predecessor-version":[{"id":2908,"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/posts\/1237\/revisions\/2908"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/media\/280"}],"wp:attachment":[{"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/media?parent=1237"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/categories?post=1237"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/tags?post=1237"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}