{"id":309,"date":"2022-08-30T14:59:12","date_gmt":"2022-08-30T14:59:12","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2013\/10\/16\/apache-virtualhost-80-mixing-ports-and-non-ports-with-a-namevirtualhost-address-is-not-supported-record-and-share-programming-errors\/"},"modified":"2022-08-30T14:59:12","modified_gmt":"2022-08-30T14:59:12","slug":"apache-virtualhost-80-mixing-ports-and-non-ports-with-a-namevirtualhost-address-is-not-supported-record-and-share-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/apache-virtualhost-80-mixing-ports-and-non-ports-with-a-namevirtualhost-address-is-not-supported-record-and-share-programming-errors\/","title":{"rendered":"Apache: VirtualHost *:80 &mdash; mixing * ports and non-* ports with a NameVirtualHost address is not supported-Record and share programming errors"},"content":{"rendered":"<p>when i add the line below to \/etc\/apache2\/apache2.conf I get the error belower when i restart apache:<\/p>\n<pre><code>Include\n\/usr\/share\/doc\/apache2.2-common\/examples\/apache2\/extra\/httpd-vhosts.conf\n<\/code><\/pre>\n<blockquote>\n<p>[Mon Jun 14 12:16:47 2010] [error] VirtualHost *:80 &#8212; mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results [Mon Jun 14 12:16:47 2010] [warn] NameVirtualHost *:80 has no VirtualHosts<\/p>\n<\/blockquote>\n<p>This is my httpd-vhosts.conf file:<\/p>\n<pre><code>#\n# Use name-based virtual hosting.\n#\nNameVirtualHost *:80\n\n#\n# VirtualHost example:\n# Almost any Apache directive may go into a VirtualHost container.\n# The first VirtualHost section is used for all requests that do not\n# match a ServerName or ServerAlias in any  block.\n\n\n   ServerName tirengarfio.com\n   DocumentRoot \/var\/www\/rs3\n\n   \n      AllowOverride All\n      Options MultiViews Indexes SymLinksIfOwnerMatch\n      Allow from All\n   \n\n   Alias \/sf \/var\/www\/rs3\/lib\/vendor\/symfony\/data\/web\/sf\n   \n    AllowOverride All\n    Allow from All\n   \n\n<\/code><\/pre>\n<p>Any idea?<\/p>\n<p>Regards<\/p>\n<p>Javi<\/p>\n<p id=\"rop\"><small>Originally posted 2013-10-16 00:39:49. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>when i add the line below to \/etc\/apache2\/apache2.conf I get the error belower when i restart apache: Include \/usr\/share\/doc\/apache2.2-common\/examples\/apache2\/extra\/httpd-vhosts.conf [Mon Jun 14 12:16:47 2010] [error] VirtualHost *:80 &#8212; mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results [Mon Jun 14 12:16:47 2010] [warn] NameVirtualHost *:80 has no [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-309","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/309","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=309"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/309\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=309"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=309"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=309"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}