<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Save Time (and code) Using Virtual Hosts For Local OS X Web Development With mod_rewrite</title>
	<atom:link href="http://michaelkrol.com/2007/10/04/save-time-and-code-using-virtual-hosts-for-local-os-x-web-development-with-mod_rewrite/feed/" rel="self" type="application/rss+xml" />
	<link>http://michaelkrol.com/2007/10/04/save-time-and-code-using-virtual-hosts-for-local-os-x-web-development-with-mod_rewrite/</link>
	<description>A Web Developer's Blog Highlighting Open Source and OS X</description>
	<lastBuildDate>Sat, 20 Feb 2010 20:36:59 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Michael Barrett</title>
		<link>http://michaelkrol.com/2007/10/04/save-time-and-code-using-virtual-hosts-for-local-os-x-web-development-with-mod_rewrite/comment-page-1/#comment-1059</link>
		<dc:creator>Michael Barrett</dc:creator>
		<pubDate>Thu, 29 Nov 2007 03:06:41 +0000</pubDate>
		<guid isPermaLink="false">http://michaelkrol.com/2007/10/04/save-time-and-code-using-virtual-hosts-for-local-os-x-web-development/#comment-1059</guid>
		<description>I do a similar thing, but I use arbitrarily defined port numbers instead of named hosts. This allows me to have a second machine on my network (or a virtual machine like Windows running under parallels) to view my dev site with root relative links intact.

First I add the following to my user.conf file to preserve good old standard port 80:

#protect localhost/default
Listen 80

Then I add a configuration like this for each of my dev sites

#dev site config
Listen 1200

  DocumentRoot /Users/me/Sites/devsite/
  
    Options ExecCGI FollowSymLinks
    AddHandler cgi-script .cgi
    AllowOverride all
    Allow from all
    Order allow,deny
  


Then I can use &quot;localhost:1200 to access my site on my own computer, or I can browse the site by IP address plus port number on a neighboring computer.

this allows for easy testing on multiple browsers and platforms w/o uploading to a live development server on the internets.</description>
		<content:encoded><![CDATA[<p>I do a similar thing, but I use arbitrarily defined port numbers instead of named hosts. This allows me to have a second machine on my network (or a virtual machine like Windows running under parallels) to view my dev site with root relative links intact.</p>
<p>First I add the following to my user.conf file to preserve good old standard port 80:</p>
<p>#protect localhost/default<br />
Listen 80</p>
<p>Then I add a configuration like this for each of my dev sites</p>
<p>#dev site config<br />
Listen 1200</p>
<p>  DocumentRoot /Users/me/Sites/devsite/</p>
<p>    Options ExecCGI FollowSymLinks<br />
    AddHandler cgi-script .cgi<br />
    AllowOverride all<br />
    Allow from all<br />
    Order allow,deny</p>
<p>Then I can use &#8220;localhost:1200 to access my site on my own computer, or I can browse the site by IP address plus port number on a neighboring computer.</p>
<p>this allows for easy testing on multiple browsers and platforms w/o uploading to a live development server on the internets.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://michaelkrol.com/2007/10/04/save-time-and-code-using-virtual-hosts-for-local-os-x-web-development-with-mod_rewrite/comment-page-1/#comment-950</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Wed, 31 Oct 2007 05:55:01 +0000</pubDate>
		<guid isPermaLink="false">http://michaelkrol.com/2007/10/04/save-time-and-code-using-virtual-hosts-for-local-os-x-web-development/#comment-950</guid>
		<description>Thanks Roder - I wasn&#039;t aware of the shortcuts in Firefox. That will come in handy. But the real purpose of this is to simplify code and make it easier to migrate a site to a live server after the site is ready to launch - shortening the url you need to type in is just a handy by-product of the whole process. 

Thanks!</description>
		<content:encoded><![CDATA[<p>Thanks Roder &#8211; I wasn&#8217;t aware of the shortcuts in Firefox. That will come in handy. But the real purpose of this is to simplify code and make it easier to migrate a site to a live server after the site is ready to launch &#8211; shortening the url you need to type in is just a handy by-product of the whole process. </p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Local Web Development With OS X 10.5 (Leopard) &#124; michaelkrol.com</title>
		<link>http://michaelkrol.com/2007/10/04/save-time-and-code-using-virtual-hosts-for-local-os-x-web-development-with-mod_rewrite/comment-page-1/#comment-949</link>
		<dc:creator>Local Web Development With OS X 10.5 (Leopard) &#124; michaelkrol.com</dc:creator>
		<pubDate>Wed, 31 Oct 2007 05:46:27 +0000</pubDate>
		<guid isPermaLink="false">http://michaelkrol.com/2007/10/04/save-time-and-code-using-virtual-hosts-for-local-os-x-web-development/#comment-949</guid>
		<description>[...] the release of Leopard last Friday, it appears the bulk of my previous tutorials are now taken care of out of the box. mod_rewrite is enabled by default, and a decent (but not [...]</description>
		<content:encoded><![CDATA[<p>[...] the release of Leopard last Friday, it appears the bulk of my previous tutorials are now taken care of out of the box. mod_rewrite is enabled by default, and a decent (but not [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roder</title>
		<link>http://michaelkrol.com/2007/10/04/save-time-and-code-using-virtual-hosts-for-local-os-x-web-development-with-mod_rewrite/comment-page-1/#comment-884</link>
		<dc:creator>Roder</dc:creator>
		<pubDate>Sat, 27 Oct 2007 02:46:33 +0000</pubDate>
		<guid isPermaLink="false">http://michaelkrol.com/2007/10/04/save-time-and-code-using-virtual-hosts-for-local-os-x-web-development/#comment-884</guid>
		<description>If you use firefox, you can just create bookmarks using shortcuts.  So if you wanted to use admin, just bookmark the long url and save the shortcut as &#039;admin&#039;.. then all you have to do is type admin.

For example, to get to my root localhost - i just type l</description>
		<content:encoded><![CDATA[<p>If you use firefox, you can just create bookmarks using shortcuts.  So if you wanted to use admin, just bookmark the long url and save the shortcut as &#8216;admin&#8217;.. then all you have to do is type admin.</p>
<p>For example, to get to my root localhost &#8211; i just type l</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: davor</title>
		<link>http://michaelkrol.com/2007/10/04/save-time-and-code-using-virtual-hosts-for-local-os-x-web-development-with-mod_rewrite/comment-page-1/#comment-691</link>
		<dc:creator>davor</dc:creator>
		<pubDate>Fri, 12 Oct 2007 01:42:29 +0000</pubDate>
		<guid isPermaLink="false">http://michaelkrol.com/2007/10/04/save-time-and-code-using-virtual-hosts-for-local-os-x-web-development/#comment-691</guid>
		<description>awesome tutorial!! great work!! thanx!!</description>
		<content:encoded><![CDATA[<p>awesome tutorial!! great work!! thanx!!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
