<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>All Thumbs and No Fingers &#187; configuration</title>
	<atom:link href="http://redjamjar.net/tags/configuration/feed/" rel="self" type="application/rss+xml" />
	<link>http://redjamjar.net</link>
	<description>A bucket for all things by redjamjar</description>
	<lastBuildDate>Thu, 12 Apr 2012 06:05:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Apache &#8211; Name Virtual Host errors</title>
		<link>http://redjamjar.net/internet/apache-name-virtual-host-errors/</link>
		<comments>http://redjamjar.net/internet/apache-name-virtual-host-errors/#comments</comments>
		<pubDate>Sat, 27 Feb 2010 08:12:55 +0000</pubDate>
		<dc:creator>Paul</dc:creator>
				<category><![CDATA[Computing & IT]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[configuration]]></category>
		<category><![CDATA[virtualhost]]></category>

		<guid isPermaLink="false">http://redjamjar.net/?p=167</guid>
		<description><![CDATA[For some time now apache has been bugging me that there is a configuration issue with my virtual hosts, so I decided to find out what the issue was and try to resolve it. As it happens the fix was &#8230; <a href="http://redjamjar.net/internet/apache-name-virtual-host-errors/">Continue reading <span class="meta-nav">&#8594;</span></a>
No related posts.

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<div id="_mcePaste">For some time now apache has been bugging me that there is a configuration issue with my virtual hosts, so I decided to find out what the issue was and try to resolve it. As it happens the fix was easy but not well documented.</div>
<div id="_mcePaste"><strong>Issue:</strong></div>
<div>[warn] NameVirtualHost *:80 has no VirtualHosts</div>
<div><strong>Resolution:</strong></div>
<div>You can resolve this by ensuring that you virtual hosts are configured correctly. To do this you should have a NameVirtualHost for each of your ports and then be using ServerName within each virtualhost. By configuring apache this way you allow it to correctly interpret requests for different virtual hosts on the same IP Address.</div>
<div><strong>Example:</strong></div>
<div id="_mcePaste">In my apache2.conf file I have the following declaration</div>
<blockquote>
<div id="_mcePaste">NameVirtualHost *:80</div>
</blockquote>
<div id="_mcePaste">And then each of the virtual hosts is configured:</div>
<blockquote>
<div id="_mcePaste">&lt;VirtualHost *:80&gt;</div>
<div id="_mcePaste">RailsEnv beta</div>
<div id="_mcePaste">ServerName my-app.redjamjar.net</div>
<div id="_mcePaste">DocumentRoot /home/rails/beta/my-app/current/public</div>
<div id="_mcePaste">&lt;Directory &#8220;/home/rails/beta/my-app/current/public&#8221;&gt;</div>
<div id="_mcePaste">allow from all</div>
<div id="_mcePaste">AllowOverride All</div>
<div id="_mcePaste">&lt;/Directory&gt;</div>
<div id="_mcePaste">&lt;/VirtualHost&gt;</div>
</blockquote>
<div class="tweetthis" style="text-align:left;"><p> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=Apache+%E2%80%93+Name+Virtual+Host+errors+http%3A%2F%2Fbit.ly%2FtuHbv3" title="Post to Twitter"><img class="nothumb" src="http://redjamjar.net/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter3.png" alt="Post to Twitter" /></a> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=Apache+%E2%80%93+Name+Virtual+Host+errors+http%3A%2F%2Fbit.ly%2FtuHbv3" title="Post to Twitter">Tweet This Post</a></p></div><p>No related posts.</p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://redjamjar.net/internet/apache-name-virtual-host-errors/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced

Served from: redjamjar.net @ 2012-05-22 09:04:26 -->
