{"id":214,"date":"2020-02-12T10:36:59","date_gmt":"2020-02-12T10:36:59","guid":{"rendered":"https:\/\/www.lcn.com\/support\/knowledge-base\/whats-new-in-apache-2-dot-4\/"},"modified":"2020-02-12T10:36:59","modified_gmt":"2020-02-12T10:36:59","slug":"whats-new-in-apache-2-dot-4","status":"publish","type":"ht_kb","link":"https:\/\/www.lcn.com\/support\/articles\/whats-new-in-apache-2-dot-4\/","title":{"rendered":"What\u2019s new in Apache 2.4?"},"content":{"rendered":"<p>Apache 2.4 is here, and it comes with enhancements and new features! This guide is for LCN <a href=\"https:\/\/www.lcn.com\/web-hosting\" target=\"_blank\" rel=\"noopener noreferrer\">web hosting<\/a> and <a href=\"https:\/\/www.lcn.com\/web-hosting\/wordpress\" target=\"_blank\" rel=\"noopener noreferrer\">WordPress hosting<\/a> customers and covers what\u2019s new in Apache 2.4 and the changes you need to be aware of as a website administrator.<\/p>\n<p>Let\u2019s get started\u2026<\/p>\n<h3>What\u2019s new?<\/h3>\n<p>Our Quantum shared hosting platform has now been upgraded to use Apache 2.4. This new version claims to be faster and use less memory than its predecessor. There have been many improvements to the current modules of apache as well as some new ones. We won\u2019t get into the technical stuff here; however, you can find out about all the new modules <a href=\"https:\/\/httpd.apache.org\/docs\/trunk\/new_features_2_4.html\" target=\"_blank\" rel=\"noopener noreferrer\">here<\/a>.<\/p>\n<h3>What changes do I need to be aware of?<\/h3>\n<p>The most apparent change in Apache 2.4 is an update to the access control directives. In Apache 2.2 access control to specific hostnames and IP\u2019s was done using the directives Order, Allow, Deny and Satisfy. You may have seen these directives being used in your .htaccess file to restrict access. An example would be:<\/p>\n<pre class=\"prettyprint linenums\">ErrorDocument 403 \/specific_page.htmlOrder Allow,DenyAllow from 111.222.333.444<\/pre>\n<p>In Apache 2.4, such access control is done in the same way as other authorisation checks, using the new module <a href=\"https:\/\/httpd.apache.org\/docs\/2.4\/mod\/mod_authz_host.html\" target=\"_blank\" rel=\"noopener noreferrer\">mod_authz_host<\/a>. It is recommended that old access control rules should be replaced by the new authentication mechanisms.<\/p>\n<p>Here are some examples of old and new ways to do the same access control.<\/p>\n<p><\/p>\n<p>In this example, there is no authentication and all requests are denied.<\/p>\n<pre class=\"prettyprint linenums\"><strong>2.2 configuration:<\/strong>Order deny,allowDeny from all<br><strong>2.4 configuration:<\/strong>Require all denied<\/pre>\n<p><\/p>\n<p>In this example, there is no authentication and all requests are allowed.<\/p>\n<pre class=\"prettyprint linenums\"><strong>2.2 configuration:<\/strong>Order allow,denyAllow from all<br><strong>2.4 configuration:<\/strong>Require all granted<\/pre>\n<p><\/p>\n<p>In the following example, there is no authentication and all hosts in the example.org domain are allowed access; all other hosts are denied access.<\/p>\n<pre class=\"prettyprint linenums\"><strong>2.2 configuration:<\/strong>Order Deny,AllowDeny from allAllow from example.org<br><strong>2.4 configuration:<\/strong>Require host example.org<\/pre>\n<p><\/p>\n<div class=\"container row col-md-24 support-article panel panel-default panel-body\" style=\"background-color: #f6e9db;border-color: #ead9c7;border: 1px solid #ddd;border-radius: 4px;padding: 1% 2%; background-image: url(\/images\/my_account\/highlight.png); background-position: left top; background-repeat: repeat-x;\">\n<p><span style=\"font-size: 17px\"><strong style=\"color: #e77600 !important; font-size: 18px;\">Please note:<\/strong> A module has been installed to ensure that you can still use the older 2.2 configurations. However, it is not recommended to mix the old and new directives within your .htaccess file. It is technically possible to mix these directives; however, issues have been known to arise when doing so. <\/span><\/p>\n<\/div>\n<p><\/p>\n<p>That\u2019s it! You now know everything needed to update your .htaccess access control rules.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Apache 2.4 is here, and it comes with enhancements and new features! This guide is for LCN web hosting and WordPress hosting customers and covers what\u2019s new in Apache 2.4 and the changes you need to be aware of as a website administrator. Let\u2019s get started\u2026 What\u2019s new? Our Quantum shared hosting platform has now [&hellip;]<\/p>\n","protected":false},"author":1,"comment_status":"closed","ping_status":"open","template":"","format":"standard","meta":{"footnotes":""},"ht-kb-category":[4],"ht-kb-tag":[19],"class_list":["post-214","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-managing-web-hosting","ht_kb_tag-wordpress-hosting-web-hosting"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>What\u2019s new in Apache 2.4? - LCN.com<\/title>\n<meta name=\"description\" content=\"A simple guide to let you know what&#039;s new with Apache 2.4 and the changes you need to be aware of as a website administrator.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.lcn.com\/support\/articles\/whats-new-in-apache-2-dot-4\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"What\u2019s new in Apache 2.4? - LCN.com\" \/>\n<meta property=\"og:description\" content=\"A simple guide to let you know what&#039;s new with Apache 2.4 and the changes you need to be aware of as a website administrator.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.lcn.com\/support\/articles\/whats-new-in-apache-2-dot-4\/\" \/>\n<meta property=\"og:site_name\" content=\"Customer Support Guides - LCN\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/lcndotcom\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.lcn.com\/support\/wp-content\/uploads\/support-facebook-feed.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@lcndotcom\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.lcn.com\/support\/articles\/whats-new-in-apache-2-dot-4\/\",\"url\":\"https:\/\/www.lcn.com\/support\/articles\/whats-new-in-apache-2-dot-4\/\",\"name\":\"What\u2019s new in Apache 2.4? - LCN.com\",\"isPartOf\":{\"@id\":\"https:\/\/www.lcn.com\/support\/#website\"},\"datePublished\":\"2020-02-12T10:36:59+00:00\",\"description\":\"A simple guide to let you know what's new with Apache 2.4 and the changes you need to be aware of as a website administrator.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.lcn.com\/support\/articles\/whats-new-in-apache-2-dot-4\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.lcn.com\/support\/articles\/whats-new-in-apache-2-dot-4\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.lcn.com\/support\/articles\/whats-new-in-apache-2-dot-4\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.lcn.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"What\u2019s new in Apache 2.4?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.lcn.com\/support\/#website\",\"url\":\"https:\/\/www.lcn.com\/support\/\",\"name\":\"Customer Support Guides - LCN\",\"description\":\"- LCN\",\"publisher\":{\"@id\":\"https:\/\/www.lcn.com\/support\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.lcn.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.lcn.com\/support\/#organization\",\"name\":\"LCN.com\",\"url\":\"https:\/\/www.lcn.com\/support\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.lcn.com\/support\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.lcn.com\/support\/wp-content\/uploads\/2020\/02\/ZF_-hcc3.jpg\",\"contentUrl\":\"https:\/\/www.lcn.com\/support\/wp-content\/uploads\/2020\/02\/ZF_-hcc3.jpg\",\"width\":461,\"height\":461,\"caption\":\"LCN.com\"},\"image\":{\"@id\":\"https:\/\/www.lcn.com\/support\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/lcndotcom\",\"https:\/\/x.com\/lcndotcom\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"What\u2019s new in Apache 2.4? - LCN.com","description":"A simple guide to let you know what's new with Apache 2.4 and the changes you need to be aware of as a website administrator.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.lcn.com\/support\/articles\/whats-new-in-apache-2-dot-4\/","og_locale":"en_US","og_type":"article","og_title":"What\u2019s new in Apache 2.4? - LCN.com","og_description":"A simple guide to let you know what's new with Apache 2.4 and the changes you need to be aware of as a website administrator.","og_url":"https:\/\/www.lcn.com\/support\/articles\/whats-new-in-apache-2-dot-4\/","og_site_name":"Customer Support Guides - LCN","article_publisher":"https:\/\/www.facebook.com\/lcndotcom","og_image":[{"width":1200,"height":628,"url":"https:\/\/www.lcn.com\/support\/wp-content\/uploads\/support-facebook-feed.jpg","type":"image\/jpeg"}],"twitter_card":"summary_large_image","twitter_site":"@lcndotcom","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.lcn.com\/support\/articles\/whats-new-in-apache-2-dot-4\/","url":"https:\/\/www.lcn.com\/support\/articles\/whats-new-in-apache-2-dot-4\/","name":"What\u2019s new in Apache 2.4? - LCN.com","isPartOf":{"@id":"https:\/\/www.lcn.com\/support\/#website"},"datePublished":"2020-02-12T10:36:59+00:00","description":"A simple guide to let you know what's new with Apache 2.4 and the changes you need to be aware of as a website administrator.","breadcrumb":{"@id":"https:\/\/www.lcn.com\/support\/articles\/whats-new-in-apache-2-dot-4\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.lcn.com\/support\/articles\/whats-new-in-apache-2-dot-4\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.lcn.com\/support\/articles\/whats-new-in-apache-2-dot-4\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.lcn.com\/support\/"},{"@type":"ListItem","position":2,"name":"What\u2019s new in Apache 2.4?"}]},{"@type":"WebSite","@id":"https:\/\/www.lcn.com\/support\/#website","url":"https:\/\/www.lcn.com\/support\/","name":"Customer Support Guides - LCN","description":"- LCN","publisher":{"@id":"https:\/\/www.lcn.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.lcn.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.lcn.com\/support\/#organization","name":"LCN.com","url":"https:\/\/www.lcn.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.lcn.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/www.lcn.com\/support\/wp-content\/uploads\/2020\/02\/ZF_-hcc3.jpg","contentUrl":"https:\/\/www.lcn.com\/support\/wp-content\/uploads\/2020\/02\/ZF_-hcc3.jpg","width":461,"height":461,"caption":"LCN.com"},"image":{"@id":"https:\/\/www.lcn.com\/support\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/lcndotcom","https:\/\/x.com\/lcndotcom"]}]}},"_links":{"self":[{"href":"https:\/\/www.lcn.com\/support\/wp-json\/wp\/v2\/ht-kb\/214","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.lcn.com\/support\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/www.lcn.com\/support\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.lcn.com\/support\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.lcn.com\/support\/wp-json\/wp\/v2\/comments?post=214"}],"version-history":[{"count":0,"href":"https:\/\/www.lcn.com\/support\/wp-json\/wp\/v2\/ht-kb\/214\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.lcn.com\/support\/wp-json\/wp\/v2\/media?parent=214"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.lcn.com\/support\/wp-json\/wp\/v2\/ht-kb-category?post=214"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.lcn.com\/support\/wp-json\/wp\/v2\/ht-kb-tag?post=214"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}