{"id":138,"date":"2020-08-07T20:52:46","date_gmt":"2020-08-07T20:52:46","guid":{"rendered":"https:\/\/standingtech.com\/randomarticles\/?p=138"},"modified":"2020-08-07T20:52:46","modified_gmt":"2020-08-07T20:52:46","slug":"centos-7-virtual-host-not-working","status":"publish","type":"post","link":"https:\/\/standingtech.com\/randomarticles\/centos-7-virtual-host-not-working\/","title":{"rendered":"CentOS 7 Virtual Host Not Working"},"content":{"rendered":"<p>1- Enable Options +SymLinksIfOwnerMatch<br \/>\n2- See my Virtual Host example<\/p>\n<p>Add below code at beginning of the virtual host section:<\/p>\n<blockquote><p>&lt;VirtualHost *:80&gt;<br \/>\nServerName fail<br \/>\n&lt;\/VirtualHost&gt;<\/p><\/blockquote>\n<p>Add below code to the end of the virtual host section:<\/p>\n<blockquote><p>\n&lt;VirtualHost *:80&gt;<br \/>\nServerAlias *<br \/>\n&lt;\/VirtualHost&gt;<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>1- Enable Options +SymLinksIfOwnerMatch 2- See my Virtual Host example Add below code at beginning of the virtual host section: &lt;VirtualHost *:80&gt; ServerName fail &lt;\/VirtualHost&gt; Add below code to the end of the virtual host section: &lt;VirtualHost *:80&gt; ServerAlias * &lt;\/VirtualHost&gt;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[43,44],"tags":[45,46],"class_list":["post-138","post","type-post","status-publish","format-standard","hentry","category-centos","category-linux","tag-centos7","tag-virtualhost"],"_links":{"self":[{"href":"https:\/\/standingtech.com\/randomarticles\/wp-json\/wp\/v2\/posts\/138","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/standingtech.com\/randomarticles\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/standingtech.com\/randomarticles\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/standingtech.com\/randomarticles\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/standingtech.com\/randomarticles\/wp-json\/wp\/v2\/comments?post=138"}],"version-history":[{"count":1,"href":"https:\/\/standingtech.com\/randomarticles\/wp-json\/wp\/v2\/posts\/138\/revisions"}],"predecessor-version":[{"id":139,"href":"https:\/\/standingtech.com\/randomarticles\/wp-json\/wp\/v2\/posts\/138\/revisions\/139"}],"wp:attachment":[{"href":"https:\/\/standingtech.com\/randomarticles\/wp-json\/wp\/v2\/media?parent=138"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/standingtech.com\/randomarticles\/wp-json\/wp\/v2\/categories?post=138"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/standingtech.com\/randomarticles\/wp-json\/wp\/v2\/tags?post=138"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}