<?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>RudiYardley.com &#187; Apache</title>
	<atom:link href="http://blog.rudiyardley.com/category/apache/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.rudiyardley.com</link>
	<description>Technical tidbits on Flash, Flex, Application Development, MODx, Silverstripe and Freelancing</description>
	<lastBuildDate>Tue, 31 Jan 2012 04:31:03 +0000</lastBuildDate>
	
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Apache Virtual Hosts iTunes and cant connect to port 0.0.0.0:80</title>
		<link>http://blog.rudiyardley.com/2009/07/apache-virtual-hosts-itunes-and-cant-connect-to-port-0-0-0-080/</link>
		<comments>http://blog.rudiyardley.com/2009/07/apache-virtual-hosts-itunes-and-cant-connect-to-port-0-0-0-080/#comments</comments>
		<pubDate>Wed, 01 Jul 2009 21:34:38 +0000</pubDate>
		<dc:creator>rudi</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[itunes]]></category>
		<category><![CDATA[pc]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://blog.rudestar.net/?p=103</guid>
		<description><![CDATA[I recently attempted to install Apache webserver for local development and had a tough time getting it to start as it couldnt connect to port 80 on localhost. I found out that the problem was iTunes and all the stupid services it installs. somehow iTunes had taken over my port 80 on 127.0.0.1. so before [...]]]></description>
			<content:encoded><![CDATA[<p>I recently attempted to install Apache webserver for local development and had a tough time getting it to start as it couldnt connect to port 80 on localhost. I found out that the problem was iTunes and all the stupid services it installs. somehow iTunes had taken over my port 80 on 127.0.0.1. so before sarting Apache you need to go into task manager and stop all the pesky apple services!! Anyway so the process for installing and configurig Apache for Virtual Host names on IIS goes as follows:</p>
<p>1) Make sure all iTunes services have stopped</p>
<p>2) Install Apache choosing localhost as your domain names and admin@localhost for your server name and use default settings for every thing else.</p>
<p>3) change the following in the httpd.conf file :<br />
<!--DEVFMTCODE--><pre class="devcodeblock" title=""><div class="devcodeoverflow"><ol><li>#LoadModule vhost_alias_module modules/mod_vhost_alias.so</li></ol></div></pre><!--END_DEVFMTCODE--><br />
to<br />
<!--DEVFMTCODE--><pre class="devcodeblock" title=""><div class="devcodeoverflow"><ol><li>LoadModule vhost_alias_module modules/mod_vhost_alias.so</li></ol></div></pre><!--END_DEVFMTCODE--><br />
and<br />
<!--DEVFMTCODE--><pre class="devcodeblock" title=""><div class="devcodeoverflow"><ol><li># Virtual hosts</li><li># Include conf/extra/httpd-vhosts.conf</li></ol></div></pre><!--END_DEVFMTCODE--><br />
to<br />
<!--DEVFMTCODE--><pre class="devcodeblock" title=""><div class="devcodeoverflow"><ol><li># Virtual hosts</li><li>Include conf/extra/httpd-vhosts.conf</li></ol></div></pre><!--END_DEVFMTCODE--><br />
4) For each vhost add the following to the <code>\conf\extra\httpd-vhosts.conf</code> file and delete whatever is there. For a site called tacsite I have done the following:<br />
<pre>&lt;VirtualHost *:80&gt;
 DocumentRoot "D:\path\to\source"
 ServerName tacsite     
 ServerAlias tacsite
&lt;/VirtualHost&gt;
&lt;Directory "D:\path\to\source"&gt;
 AllowOverride None
 Options None
 Order allow,deny
 Allow from all
&lt;/Directory&gt;</pre><br />
5) Then alter your hosts file (C:\\WINDOWS\system32\drivers\etc\hosts) adding the following:<br />
<pre>127.0.0.1       tacsite</pre><br />
6) then point your browser to the following URL: <em>‘http://tacsite/</em>‘ or as I do simply type ‘<em>tacsite</em>‘ into mozilla!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.rudiyardley.com/2009/07/apache-virtual-hosts-itunes-and-cant-connect-to-port-0-0-0-080/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

