{"id":2806,"date":"2020-02-27T11:46:27","date_gmt":"2020-02-27T06:16:27","guid":{"rendered":"https:\/\/www.24x7serversupport.com\/blog\/?p=2806"},"modified":"2020-02-27T11:46:44","modified_gmt":"2020-02-27T06:16:44","slug":"apache-you-dont-have-permission-to-access-on-this-server-error","status":"publish","type":"post","link":"https:\/\/www.24x7serversupport.com\/blog\/apache-you-dont-have-permission-to-access-on-this-server-error\/","title":{"rendered":"Apache &#8211; You don&#8217;t have permission to access on this server error"},"content":{"rendered":"\n<p>When you have installed\nan&nbsp;Apache&nbsp;server&nbsp;, the following message may appear on your\nbrowser if you try to access a page:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">&lt;p>\n403 Forbidden You don't have permission to access \/ on this server\n&lt;\/p><\/pre>\n\n\n\n<p>This error is a problem related to\naccess.&nbsp;The access configuration takes place in the httpd-vhosts.conf\nfile.&nbsp;The Directory block is used to configure access to the various\ndirectories on the server.&nbsp;By default, there is only one for the root\ndirectory (\/) and the setting made on this block is applied to all\nsubdirectories.<\/p>\n\n\n\n<p>The first element of this block to modify\nis access management.&nbsp;For a server in a version earlier than version 2.4,\nit is possible that Apache by default prohibits access to the server:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">&lt;p&gt;\nOptions FollowSymLinks AllowOverride All Order deny, allow Deny from all\n&lt;\/p&gt;<\/pre>\n\n\n\n<p>Order deny, allow direction indicates that\ndeny directives take precedence over allow directives.&nbsp;It is the second\ndeny from all directive that prohibits access for all.&nbsp;To correct this\nproblem, if you are on a development server, which does not host an online\nwebsite, simply replace the second directive with the allow from all\ndirective.&nbsp;If you are on an online server, we recommend that you create a\nDirectory block with the path to your directory and then allow access:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">&lt;p&gt;\nAllow from all &lt;\/p&gt;<\/pre>\n\n\n\n<p>If you use an Apache server in version 2.4\nor more recent, the module which manages the authorizations has changed: it is\nthe mod_authz_host module.&nbsp;The guidelines for allowing or denying access\nare no longer the same.&nbsp;They have to be changed.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">&lt;p&gt;\nOptions FollowSymLinks AllowOverride All Require all denied Require all granted\n&lt;\/p&gt;<\/pre>\n\n\n\n<p>If you have migrated from an earlier\nversion of&nbsp;Apache&nbsp;, follow the foundation guide to correct the server\nconfiguration: https:\/\/httpd.apache.org\/docs\/2.4\/upgrading.html.<\/p>\n\n\n\n<p>If the problem is not resolved, another\nsolution is to replace the FollowSymLinks Options directive with Options\nIndexes FollowSymLinks Includes ExecCGI.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When you have installed an&nbsp;Apache&nbsp;server&nbsp;, the following message may appear on your browser if you try to access a page: &lt;p> 403 Forbidden You don&#8217;t have permission to access \/ on this server &lt;\/p> This error is a problem related to access.&nbsp;The access configuration takes place in the httpd-vhosts.conf file.&nbsp;The Directory block is used to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2807,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[139,30,34],"tags":[119,114],"class_list":["post-2806","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-apache","category-centos","category-linux","tag-apache","tag-centos-7"],"jetpack_publicize_connections":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Apache - You don&#039;t have permission to access on this server error | 24x7serversupport Blog<\/title>\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.24x7serversupport.com\/blog\/apache-you-dont-have-permission-to-access-on-this-server-error\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Apache - You don&#039;t have permission to access on this server error | 24x7serversupport Blog\" \/>\n<meta property=\"og:description\" content=\"When you have installed an&nbsp;Apache&nbsp;server&nbsp;, the following message may appear on your browser if you try to access a page: &lt;p&gt; 403 Forbidden You don&#039;t have permission to access \/ on this server &lt;\/p&gt; This error is a problem related to access.&nbsp;The access configuration takes place in the httpd-vhosts.conf file.&nbsp;The Directory block is used to [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.24x7serversupport.com\/blog\/apache-you-dont-have-permission-to-access-on-this-server-error\/\" \/>\n<meta property=\"og:site_name\" content=\"24x7serversupport Blog\" \/>\n<meta property=\"article:published_time\" content=\"2020-02-27T06:16:27+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-02-27T06:16:44+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/i0.wp.com\/www.24x7serversupport.com\/blog\/wp-content\/uploads\/2020\/02\/apache.png?fit=346%2C146&ssl=1\" \/>\n\t<meta property=\"og:image:width\" content=\"346\" \/>\n\t<meta property=\"og:image:height\" content=\"146\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"24x7support\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@24x7serversuppo\" \/>\n<meta name=\"twitter:site\" content=\"@24x7serversuppo\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"24x7support\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/apache-you-dont-have-permission-to-access-on-this-server-error\/\",\"url\":\"https:\/\/www.24x7serversupport.com\/blog\/apache-you-dont-have-permission-to-access-on-this-server-error\/\",\"name\":\"Apache - You don't have permission to access on this server error | 24x7serversupport Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/apache-you-dont-have-permission-to-access-on-this-server-error\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/apache-you-dont-have-permission-to-access-on-this-server-error\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/i0.wp.com\/www.24x7serversupport.com\/blog\/wp-content\/uploads\/2020\/02\/apache.png?fit=346%2C146&ssl=1\",\"datePublished\":\"2020-02-27T06:16:27+00:00\",\"dateModified\":\"2020-02-27T06:16:44+00:00\",\"author\":{\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/#\/schema\/person\/decfb5fad6bde6ac6822d4e965c6d401\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/apache-you-dont-have-permission-to-access-on-this-server-error\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.24x7serversupport.com\/blog\/apache-you-dont-have-permission-to-access-on-this-server-error\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/apache-you-dont-have-permission-to-access-on-this-server-error\/#primaryimage\",\"url\":\"https:\/\/i0.wp.com\/www.24x7serversupport.com\/blog\/wp-content\/uploads\/2020\/02\/apache.png?fit=346%2C146&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/www.24x7serversupport.com\/blog\/wp-content\/uploads\/2020\/02\/apache.png?fit=346%2C146&ssl=1\",\"width\":346,\"height\":146,\"caption\":\"Apache\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/apache-you-dont-have-permission-to-access-on-this-server-error\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.24x7serversupport.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Apache &#8211; You don&#8217;t have permission to access on this server error\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/#website\",\"url\":\"https:\/\/www.24x7serversupport.com\/blog\/\",\"name\":\"24x7serversupport Blog\",\"description\":\"Linux | CPanel | WHM | webhosting| Plesk | DirectAdmin | CentOs | Debian | Ubuntu Blog\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.24x7serversupport.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/#\/schema\/person\/decfb5fad6bde6ac6822d4e965c6d401\",\"name\":\"24x7support\",\"url\":\"https:\/\/www.24x7serversupport.com\/blog\/author\/24x7support\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Apache - You don't have permission to access on this server error | 24x7serversupport Blog","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.24x7serversupport.com\/blog\/apache-you-dont-have-permission-to-access-on-this-server-error\/","og_locale":"en_US","og_type":"article","og_title":"Apache - You don't have permission to access on this server error | 24x7serversupport Blog","og_description":"When you have installed an&nbsp;Apache&nbsp;server&nbsp;, the following message may appear on your browser if you try to access a page: &lt;p> 403 Forbidden You don't have permission to access \/ on this server &lt;\/p> This error is a problem related to access.&nbsp;The access configuration takes place in the httpd-vhosts.conf file.&nbsp;The Directory block is used to [&hellip;]","og_url":"https:\/\/www.24x7serversupport.com\/blog\/apache-you-dont-have-permission-to-access-on-this-server-error\/","og_site_name":"24x7serversupport Blog","article_published_time":"2020-02-27T06:16:27+00:00","article_modified_time":"2020-02-27T06:16:44+00:00","og_image":[{"width":346,"height":146,"url":"https:\/\/i0.wp.com\/www.24x7serversupport.com\/blog\/wp-content\/uploads\/2020\/02\/apache.png?fit=346%2C146&ssl=1","type":"image\/png"}],"author":"24x7support","twitter_card":"summary_large_image","twitter_creator":"@24x7serversuppo","twitter_site":"@24x7serversuppo","twitter_misc":{"Written by":"24x7support","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.24x7serversupport.com\/blog\/apache-you-dont-have-permission-to-access-on-this-server-error\/","url":"https:\/\/www.24x7serversupport.com\/blog\/apache-you-dont-have-permission-to-access-on-this-server-error\/","name":"Apache - You don't have permission to access on this server error | 24x7serversupport Blog","isPartOf":{"@id":"https:\/\/www.24x7serversupport.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.24x7serversupport.com\/blog\/apache-you-dont-have-permission-to-access-on-this-server-error\/#primaryimage"},"image":{"@id":"https:\/\/www.24x7serversupport.com\/blog\/apache-you-dont-have-permission-to-access-on-this-server-error\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/www.24x7serversupport.com\/blog\/wp-content\/uploads\/2020\/02\/apache.png?fit=346%2C146&ssl=1","datePublished":"2020-02-27T06:16:27+00:00","dateModified":"2020-02-27T06:16:44+00:00","author":{"@id":"https:\/\/www.24x7serversupport.com\/blog\/#\/schema\/person\/decfb5fad6bde6ac6822d4e965c6d401"},"breadcrumb":{"@id":"https:\/\/www.24x7serversupport.com\/blog\/apache-you-dont-have-permission-to-access-on-this-server-error\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.24x7serversupport.com\/blog\/apache-you-dont-have-permission-to-access-on-this-server-error\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.24x7serversupport.com\/blog\/apache-you-dont-have-permission-to-access-on-this-server-error\/#primaryimage","url":"https:\/\/i0.wp.com\/www.24x7serversupport.com\/blog\/wp-content\/uploads\/2020\/02\/apache.png?fit=346%2C146&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.24x7serversupport.com\/blog\/wp-content\/uploads\/2020\/02\/apache.png?fit=346%2C146&ssl=1","width":346,"height":146,"caption":"Apache"},{"@type":"BreadcrumbList","@id":"https:\/\/www.24x7serversupport.com\/blog\/apache-you-dont-have-permission-to-access-on-this-server-error\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.24x7serversupport.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Apache &#8211; You don&#8217;t have permission to access on this server error"}]},{"@type":"WebSite","@id":"https:\/\/www.24x7serversupport.com\/blog\/#website","url":"https:\/\/www.24x7serversupport.com\/blog\/","name":"24x7serversupport Blog","description":"Linux | CPanel | WHM | webhosting| Plesk | DirectAdmin | CentOs | Debian | Ubuntu Blog","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.24x7serversupport.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.24x7serversupport.com\/blog\/#\/schema\/person\/decfb5fad6bde6ac6822d4e965c6d401","name":"24x7support","url":"https:\/\/www.24x7serversupport.com\/blog\/author\/24x7support\/"}]}},"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.24x7serversupport.com\/blog\/wp-content\/uploads\/2020\/02\/apache.png?fit=346%2C146&ssl=1","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/posts\/2806","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/comments?post=2806"}],"version-history":[{"count":2,"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/posts\/2806\/revisions"}],"predecessor-version":[{"id":2809,"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/posts\/2806\/revisions\/2809"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/media\/2807"}],"wp:attachment":[{"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/media?parent=2806"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/categories?post=2806"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/tags?post=2806"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}