<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Setting Up Multiple Apache Local Web Sites On Your Computer</title>
	<atom:link href="http://www.heritage-tech.net/336/setting-up-multiple-apache-local-web-sites-on-your-computer/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.heritage-tech.net/336/setting-up-multiple-apache-local-web-sites-on-your-computer/</link>
	<description>A Notepad of Tech, Business, Science and Self Improvement</description>
	<pubDate>Sat, 05 Jul 2008 01:49:01 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: Andrew</title>
		<link>http://www.heritage-tech.net/336/setting-up-multiple-apache-local-web-sites-on-your-computer/#comment-62184</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Sat, 01 Mar 2008 18:10:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.heritage-tech.net/336/setting-up-multiple-apache-local-web-sites-on-your-computer/#comment-62184</guid>
		<description>so, NameVirtualHost 127.0.0.1 is outside of all tags. By itself.</description>
		<content:encoded><![CDATA[<p>so, NameVirtualHost 127.0.0.1 is outside of all tags. By itself.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew</title>
		<link>http://www.heritage-tech.net/336/setting-up-multiple-apache-local-web-sites-on-your-computer/#comment-62183</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Sat, 01 Mar 2008 18:09:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.heritage-tech.net/336/setting-up-multiple-apache-local-web-sites-on-your-computer/#comment-62183</guid>
		<description>...and I see why now! The submission form on this page removes the tags - lol.</description>
		<content:encoded><![CDATA[<p>&#8230;and I see why now! The submission form on this page removes the tags - lol.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew</title>
		<link>http://www.heritage-tech.net/336/setting-up-multiple-apache-local-web-sites-on-your-computer/#comment-62182</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Sat, 01 Mar 2008 18:08:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.heritage-tech.net/336/setting-up-multiple-apache-local-web-sites-on-your-computer/#comment-62182</guid>
		<description>I figured it out. Thank you, bye!

(Just Kidding)

The problem I think that many people are having is the syntax. Jeff, you are right. It has to do with the NameVirtualHost directive. I was having trouble because most of the examples are not showing the exact syntax with respects to open and close tags (ie: . So, here is the syntax:


    Options Indexes FollowSymLinks MultiViews
    AllowOverride All
    Order allow,deny
    Allow from all


NameVirtualHost 127.0.0.1


    ServerName domain1
    DocumentRoot "C:\path_to_domains\domain1\httpdocs"



    ServerName domain2
    DocumentRoot "C:\path_to_domains\domain2\httpdocs"



Andrew.</description>
		<content:encoded><![CDATA[<p>I figured it out. Thank you, bye!</p>
<p>(Just Kidding)</p>
<p>The problem I think that many people are having is the syntax. Jeff, you are right. It has to do with the NameVirtualHost directive. I was having trouble because most of the examples are not showing the exact syntax with respects to open and close tags (ie: . So, here is the syntax:</p>
<p>    Options Indexes FollowSymLinks MultiViews<br />
    AllowOverride All<br />
    Order allow,deny<br />
    Allow from all</p>
<p>NameVirtualHost 127.0.0.1</p>
<p>    ServerName domain1<br />
    DocumentRoot &#8220;C:\path_to_domains\domain1\httpdocs&#8221;</p>
<p>    ServerName domain2<br />
    DocumentRoot &#8220;C:\path_to_domains\domain2\httpdocs&#8221;</p>
<p>Andrew.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew</title>
		<link>http://www.heritage-tech.net/336/setting-up-multiple-apache-local-web-sites-on-your-computer/#comment-62181</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Sat, 01 Mar 2008 17:55:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.heritage-tech.net/336/setting-up-multiple-apache-local-web-sites-on-your-computer/#comment-62181</guid>
		<description>I am having the same problem as many others - the first virtualhost becomes the default. I followed all the suggestions in some of the responses (include the NameVirtualHost 127.0.0.1). No luck. What else could this be?</description>
		<content:encoded><![CDATA[<p>I am having the same problem as many others - the first virtualhost becomes the default. I followed all the suggestions in some of the responses (include the NameVirtualHost 127.0.0.1). No luck. What else could this be?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe Schwab</title>
		<link>http://www.heritage-tech.net/336/setting-up-multiple-apache-local-web-sites-on-your-computer/#comment-57340</link>
		<dc:creator>Joe Schwab</dc:creator>
		<pubDate>Sun, 20 Jan 2008 00:02:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.heritage-tech.net/336/setting-up-multiple-apache-local-web-sites-on-your-computer/#comment-57340</guid>
		<description>Hey Azmeen,
thanks for your response, Im running MAMP on mac OS X (which is essentially unix). 

if i were to edit each clients host file, would i point them to the internal IP address(192.168.1.x)? and not the localhost 127.0.0.1. does that sound about right?

Joe</description>
		<content:encoded><![CDATA[<p>Hey Azmeen,<br />
thanks for your response, Im running MAMP on mac OS X (which is essentially unix). </p>
<p>if i were to edit each clients host file, would i point them to the internal IP address(192.168.1.x)? and not the localhost 127.0.0.1. does that sound about right?</p>
<p>Joe</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Azmeen</title>
		<link>http://www.heritage-tech.net/336/setting-up-multiple-apache-local-web-sites-on-your-computer/#comment-57250</link>
		<dc:creator>Azmeen</dc:creator>
		<pubDate>Sat, 19 Jan 2008 18:01:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.heritage-tech.net/336/setting-up-multiple-apache-local-web-sites-on-your-computer/#comment-57250</guid>
		<description>Hi Joe Schwab,

It depends on what your web server runs. If it's on a Linux box, you could run the Samba service and set aliases for the hostnames you want to server pages on.

On a Windows network, I don't think there's a similar function unfortunately. The tedious alternative would be to edit each client's hosts file.</description>
		<content:encoded><![CDATA[<p>Hi Joe Schwab,</p>
<p>It depends on what your web server runs. If it&#8217;s on a Linux box, you could run the Samba service and set aliases for the hostnames you want to server pages on.</p>
<p>On a Windows network, I don&#8217;t think there&#8217;s a similar function unfortunately. The tedious alternative would be to edit each client&#8217;s hosts file.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe Schwab</title>
		<link>http://www.heritage-tech.net/336/setting-up-multiple-apache-local-web-sites-on-your-computer/#comment-57247</link>
		<dc:creator>Joe Schwab</dc:creator>
		<pubDate>Sat, 19 Jan 2008 17:44:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.heritage-tech.net/336/setting-up-multiple-apache-local-web-sites-on-your-computer/#comment-57247</guid>
		<description>This is a great article.
does anyone know how i can configure these local host names to be viewable by other machines within the same network. since these are not domains, and there is no internal DNS services, im not sure how this would work.</description>
		<content:encoded><![CDATA[<p>This is a great article.<br />
does anyone know how i can configure these local host names to be viewable by other machines within the same network. since these are not domains, and there is no internal DNS services, im not sure how this would work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Azmeen</title>
		<link>http://www.heritage-tech.net/336/setting-up-multiple-apache-local-web-sites-on-your-computer/#comment-54590</link>
		<dc:creator>Azmeen</dc:creator>
		<pubDate>Fri, 05 Oct 2007 09:03:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.heritage-tech.net/336/setting-up-multiple-apache-local-web-sites-on-your-computer/#comment-54590</guid>
		<description>J Berg,

I think the instructions in &lt;a href="http://www.heritage-tech.net/624/using-local-virtualhosts-on-apache-20x/" rel="nofollow"&gt;Using Local VirtualHosts On Apache 2.0.x&lt;/a&gt; would be more suitable for you.

I use Apache 2.2.x myself and they work like a charm :)</description>
		<content:encoded><![CDATA[<p>J Berg,</p>
<p>I think the instructions in <a href="http://www.heritage-tech.net/624/using-local-virtualhosts-on-apache-20x/" rel="nofollow">Using Local VirtualHosts On Apache 2.0.x</a> would be more suitable for you.</p>
<p>I use Apache 2.2.x myself and they work like a charm <img src='http://www.heritage-tech.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: J Berg</title>
		<link>http://www.heritage-tech.net/336/setting-up-multiple-apache-local-web-sites-on-your-computer/#comment-54589</link>
		<dc:creator>J Berg</dc:creator>
		<pubDate>Fri, 05 Oct 2007 08:57:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.heritage-tech.net/336/setting-up-multiple-apache-local-web-sites-on-your-computer/#comment-54589</guid>
		<description>I had to remove the  symbols from the lines that dit not show up on this website. Here is my virtual configuration again

VirtualHost *
DocumentRoot "D:\Apache2.2\htdocs"
ServerName localhost
ErrorLog logs/defaultsite-error_log
CustomLog logs/defaultsite-access_log common
    

VirtualHost *:8001
DocumentRoot "D:\BUGZILLA"
ServerName bugzilla
ErrorLog logs/bugzilla-error_log
CustomLog logs/bugzilla-access_log common
VirtualHost

Directory "D:\BUGZILLA"
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
Allow from all
Directory</description>
		<content:encoded><![CDATA[<p>I had to remove the  symbols from the lines that dit not show up on this website. Here is my virtual configuration again</p>
<p>VirtualHost *<br />
DocumentRoot &#8220;D:\Apache2.2\htdocs&#8221;<br />
ServerName localhost<br />
ErrorLog logs/defaultsite-error_log<br />
CustomLog logs/defaultsite-access_log common</p>
<p>VirtualHost *:8001<br />
DocumentRoot &#8220;D:\BUGZILLA&#8221;<br />
ServerName bugzilla<br />
ErrorLog logs/bugzilla-error_log<br />
CustomLog logs/bugzilla-access_log common<br />
VirtualHost</p>
<p>Directory &#8220;D:\BUGZILLA&#8221;<br />
Options Indexes FollowSymLinks MultiViews<br />
AllowOverride All<br />
Order allow,deny<br />
Allow from all<br />
Directory</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: J  Berg</title>
		<link>http://www.heritage-tech.net/336/setting-up-multiple-apache-local-web-sites-on-your-computer/#comment-54588</link>
		<dc:creator>J  Berg</dc:creator>
		<pubDate>Fri, 05 Oct 2007 08:51:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.heritage-tech.net/336/setting-up-multiple-apache-local-web-sites-on-your-computer/#comment-54588</guid>
		<description>Does not seem to work for me (I do use apache 2.2). If I type bugzilla:8001  I get the apache "it works" page. I should get the login page

Here is my configuration

Hosts file  
127.0.0.1       localhost  
127.0.0.1       bugzilla

httpd.conf

#Listen 0.0.0.0:0
Listen 8089
Listen 8001

# symbolic links and aliases may be used to point to other locations.
DocumentRoot "D:\Apache2.2\htdocs"


# This should be changed to whatever you set DocumentRoot to.



httpd-vhost.conf

NameVirtualHost *:8089

# VirtualHost example:


DocumentRoot "D:\Apache2.2\htdocs"
ServerName localhost
ErrorLog logs/defaultsite-error_log
CustomLog logs/defaultsite-access_log common
    


DocumentRoot "D:\BUGZILLA"
ServerName bugzilla
ErrorLog logs/bugzilla-error_log
CustomLog logs/bugzilla-access_log common



Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
Allow from all
</description>
		<content:encoded><![CDATA[<p>Does not seem to work for me (I do use apache 2.2). If I type bugzilla:8001  I get the apache &#8220;it works&#8221; page. I should get the login page</p>
<p>Here is my configuration</p>
<p>Hosts file<br />
127.0.0.1       localhost<br />
127.0.0.1       bugzilla</p>
<p>httpd.conf</p>
<p>#Listen 0.0.0.0:0<br />
Listen 8089<br />
Listen 8001</p>
<p># symbolic links and aliases may be used to point to other locations.<br />
DocumentRoot &#8220;D:\Apache2.2\htdocs&#8221;</p>
<p># This should be changed to whatever you set DocumentRoot to.</p>
<p>httpd-vhost.conf</p>
<p>NameVirtualHost *:8089</p>
<p># VirtualHost example:</p>
<p>DocumentRoot &#8220;D:\Apache2.2\htdocs&#8221;<br />
ServerName localhost<br />
ErrorLog logs/defaultsite-error_log<br />
CustomLog logs/defaultsite-access_log common</p>
<p>DocumentRoot &#8220;D:\BUGZILLA&#8221;<br />
ServerName bugzilla<br />
ErrorLog logs/bugzilla-error_log<br />
CustomLog logs/bugzilla-access_log common</p>
<p>Options Indexes FollowSymLinks MultiViews<br />
AllowOverride All<br />
Order allow,deny<br />
Allow from all</p>
]]></content:encoded>
	</item>
</channel>
</rss>
