<?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>Random Thoughts of a Technology Enthusiast &#187; apache</title>
	<atom:link href="http://vinodpandey.com/tag/apache/feed/" rel="self" type="application/rss+xml" />
	<link>http://vinodpandey.com</link>
	<description></description>
	<lastBuildDate>Wed, 30 Sep 2009 14:23:10 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Setting Up Virtual Hosts in Wamp Server</title>
		<link>http://vinodpandey.com/setting-up-virtual-hosts-in-wamp-server/</link>
		<comments>http://vinodpandey.com/setting-up-virtual-hosts-in-wamp-server/#comments</comments>
		<pubDate>Wed, 29 Jul 2009 13:16:04 +0000</pubDate>
		<dc:creator>Vinod Pandey</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[virtual hosts]]></category>
		<category><![CDATA[wamp]]></category>

		<guid isPermaLink="false">http://vinodpandey.com/?p=28</guid>
		<description><![CDATA[
Step 1.
Edit hosts file to map virtual host name to ip address.
add 127.0.0.1  xxxxx.localhost
i have used vinod.localhost
Location:C:\Windows\System32\drivers\etc\hosts
 
 In vista, run the notepad in administrator mode to edit hosts file.
Step 2.
Edit Apache configuration file httpd.conf  to add server name and document location for virtual hosts.
after DocumentRoot &#8220;c:/wamp/www/&#8221; in httpd.conf, add

NameVirtualHost 127.0.0.1
&#60;VirtualHost 127.0.0.1&#62;
ServerName localhost
DocumentRoot "c:/wamp/www"
&#60;/VirtualHost&#62;
&#60;VirtualHost [...]]]></description>
			<content:encoded><![CDATA[<ul>
<li><strong>Step 1.</strong></li>
<li>Edit hosts file to map virtual host name to ip address.<br />
add 127.0.0.1  xxxxx.localhost<br />
i have used vinod.localhost<br />
Location:C:\Windows\System32\drivers\etc\hosts</li>
<li> <a href="http://vinodpandey.com/wp-content/uploads/2009/07/2.jpg" onclick="return TrackClick('http%3A%2F%2Fvinodpandey.com%2Fwp-content%2Fuploads%2F2009%2F07%2F2.jpg','2')"><img class="size-medium wp-image-30" title="2" src="http://vinodpandey.com/wp-content/uploads/2009/07/2-300x217.jpg" alt="2" width="300" height="217" /></a></li>
<li> In vista, run the notepad in administrator mode to edit hosts file.<a href="http://vinodpandey.com/wp-content/uploads/2009/07/1.jpg" onclick="return TrackClick('http%3A%2F%2Fvinodpandey.com%2Fwp-content%2Fuploads%2F2009%2F07%2F1.jpg','1')"><img class=" size-medium wp-image-29" title="1" src="http://vinodpandey.com/wp-content/uploads/2009/07/1-250x300.jpg" alt="1" width="250" height="300" /></a></li>
<li><strong>Step 2.</strong></li>
<li>Edit Apache configuration file httpd.conf  to add server name and document location for virtual hosts.<br />
after DocumentRoot &#8220;c:/wamp/www/&#8221; in httpd.conf, add</li>
<li>
<pre class="brush:text">NameVirtualHost 127.0.0.1
&lt;VirtualHost 127.0.0.1&gt;
ServerName localhost
DocumentRoot "c:/wamp/www"
&lt;/VirtualHost&gt;
&lt;VirtualHost 127.0.0.1&gt;
ServerName vinod.localhost
DocumentRoot "c:/wamp/www/vinod/"
&lt;/VirtualHost&gt;</pre>
</li>
<li> <a href="http://vinodpandey.com/wp-content/uploads/2009/07/3.jpg" onclick="return TrackClick('http%3A%2F%2Fvinodpandey.com%2Fwp-content%2Fuploads%2F2009%2F07%2F3.jpg','3')"><img class=" size-medium wp-image-31" title="3" src="http://vinodpandey.com/wp-content/uploads/2009/07/3-300x255.jpg" alt="3" width="300" height="255" /></a></li>
<li> <strong>Step 3</strong>.</li>
<li>create your project folder at the destination folder specified.</li>
<li><strong>Step 4.</strong></li>
<li> Restart Apache server for changes to take effect.</li>
<li><strong>Step 5.</strong></li>
<li>Nothing here <img src='http://vinodpandey.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  . http://vinod.localhost/ should serve the files in c:/wamp/www/vinod/ now.</li>
<li> <a href="http://vinodpandey.com/wp-content/uploads/2009/07/4.jpg" onclick="return TrackClick('http%3A%2F%2Fvinodpandey.com%2Fwp-content%2Fuploads%2F2009%2F07%2F4.jpg','4')"><img class=" size-medium wp-image-32" title="4" src="http://vinodpandey.com/wp-content/uploads/2009/07/4-300x212.jpg" alt="4" width="300" height="212" /></a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://vinodpandey.com/setting-up-virtual-hosts-in-wamp-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
