{"id":1757,"date":"2015-01-31T05:57:00","date_gmt":"2015-01-31T05:57:00","guid":{"rendered":"https:\/\/qbytes.cloud\/?p=1757"},"modified":"2015-01-31T05:57:00","modified_gmt":"2015-01-31T05:57:00","slug":"apache-error","status":"publish","type":"post","link":"https:\/\/www.qbytes.cloud\/index.php\/2015\/01\/31\/apache-error\/","title":{"rendered":"Apache Error"},"content":{"rendered":"<p><Directory \"\/\"><br \/>\nOptions ExecCGI FollowSymLinks IncludesNOEXEC Indexes Limit SymLinksIfOwnerMatch<br \/>\nAllowOverride All<br \/>\n<\/Directory><\/p>\n<p>results in an error &#8211; Syntax error on line 71 of \/usr\/local\/apache\/conf\/httpd.conf<\/p>\n<p>Based on my understanding, it first disables FollowSymLinks and enables SymLinksIfOwnerMatch at the httpd.conf level and it applies to all the files and subdirectories present inside, \/home.<\/p>\n<p>The next directive, AllowOverride. By writing &#8220;All&#8221;, it allows all the Directives belonging to FileInfo, AuthConfig, Indexes, Limit to be overriden by .htaccess files.<\/p>\n<p>It explicitly mentions the list of Options that can be overriden by the .htaccess files.<\/p>\n<p>So, it allows SymLinksIfOwnerMatch to be overriden by the .htaccess file.<\/p>\n<p>Is my understanding correct?<\/p>\n<p>Why does it allow SymLinksIfOwnerMatch to be overriden by the .htaccess file if it has explicitly mentioned in the line above that the SymLinksIfOwnerMatch is enabled?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Options ExecCGI FollowSymLinks IncludesNOEXEC Indexes Limit SymLinksIfOwnerMatch AllowOverride All results in an error &#8211; Syntax error on line 71 of \/usr\/local\/apache\/conf\/httpd.conf Based on my understanding, it first disables FollowSymLinks and enables SymLinksIfOwnerMatch at the httpd.conf level and it applies to all the files and subdirectories present inside, \/home. The next directive, AllowOverride. By writing &#8220;All&#8221;, &#8230; <a title=\"Apache Error\" class=\"read-more\" href=\"https:\/\/www.qbytes.cloud\/index.php\/2015\/01\/31\/apache-error\/\" aria-label=\"Read more about Apache Error\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-1757","post","type-post","status-publish","format-standard","hentry","category-apache"],"_links":{"self":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/1757","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/comments?post=1757"}],"version-history":[{"count":0,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/1757\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/media?parent=1757"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/categories?post=1757"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/tags?post=1757"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}