<?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: Local Web Development With OS X 10.5 (Leopard)</title>
	<atom:link href="http://michaelkrol.com/2007/10/30/local-web-development-with-os-x-105-leopard/feed/" rel="self" type="application/rss+xml" />
	<link>http://michaelkrol.com/2007/10/30/local-web-development-with-os-x-105-leopard/</link>
	<description>A Web Developer's Blog Highlighting Open Source and OS X</description>
	<lastBuildDate>Wed, 28 Jul 2010 14:11:43 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Installing Custom PHP5 In Leopard at MAB Blog</title>
		<link>http://michaelkrol.com/2007/10/30/local-web-development-with-os-x-105-leopard/comment-page-1/#comment-1238</link>
		<dc:creator>Installing Custom PHP5 In Leopard at MAB Blog</dc:creator>
		<pubDate>Thu, 14 May 2009 22:35:24 +0000</pubDate>
		<guid isPermaLink="false">http://michaelkrol.com/2007/10/30/local-web-development-with-os-x-105-leopard/#comment-1238</guid>
		<description>[...] compile PHP as a drop in replacement. I didn&#8217;t come up with this completely on my own, these two sources were a great help. You&#8217;ll need to make sure you have MacPorts installed in order for [...]</description>
		<content:encoded><![CDATA[<p>[...] compile PHP as a drop in replacement. I didn&#8217;t come up with this completely on my own, these two sources were a great help. You&#8217;ll need to make sure you have MacPorts installed in order for [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Virtual Hosts in Leopard (after upgrading from Tiger and still knowing next to nothing about Apache) at carboxymoron.com</title>
		<link>http://michaelkrol.com/2007/10/30/local-web-development-with-os-x-105-leopard/comment-page-1/#comment-1188</link>
		<dc:creator>Virtual Hosts in Leopard (after upgrading from Tiger and still knowing next to nothing about Apache) at carboxymoron.com</dc:creator>
		<pubDate>Thu, 27 Nov 2008 11:22:07 +0000</pubDate>
		<guid isPermaLink="false">http://michaelkrol.com/2007/10/30/local-web-development-with-os-x-105-leopard/#comment-1188</guid>
		<description>[...] on this, this and [...]</description>
		<content:encoded><![CDATA[<p>[...] on this, this and [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ray-Ray</title>
		<link>http://michaelkrol.com/2007/10/30/local-web-development-with-os-x-105-leopard/comment-page-1/#comment-1176</link>
		<dc:creator>Ray-Ray</dc:creator>
		<pubDate>Thu, 30 Oct 2008 03:24:39 +0000</pubDate>
		<guid isPermaLink="false">http://michaelkrol.com/2007/10/30/local-web-development-with-os-x-105-leopard/#comment-1176</guid>
		<description>Thanks harley1387! Followed the link to the Apple site, worked like a charm!</description>
		<content:encoded><![CDATA[<p>Thanks harley1387! Followed the link to the Apple site, worked like a charm!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: harley1387</title>
		<link>http://michaelkrol.com/2007/10/30/local-web-development-with-os-x-105-leopard/comment-page-1/#comment-1143</link>
		<dc:creator>harley1387</dc:creator>
		<pubDate>Thu, 07 Aug 2008 16:14:52 +0000</pubDate>
		<guid isPermaLink="false">http://michaelkrol.com/2007/10/30/local-web-development-with-os-x-105-leopard/#comment-1143</guid>
		<description>Here&#039;s the fix from Apple -- worked as expected:

http://docs.info.apple.com/article.html?artnum=306884</description>
		<content:encoded><![CDATA[<p>Here&#8217;s the fix from Apple &#8212; worked as expected:</p>
<p><a href="http://docs.info.apple.com/article.html?artnum=306884" rel="nofollow">http://docs.info.apple.com/article.html?artnum=306884</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Boudreau</title>
		<link>http://michaelkrol.com/2007/10/30/local-web-development-with-os-x-105-leopard/comment-page-1/#comment-1119</link>
		<dc:creator>Michael Boudreau</dc:creator>
		<pubDate>Fri, 20 Jun 2008 19:36:48 +0000</pubDate>
		<guid isPermaLink="false">http://michaelkrol.com/2007/10/30/local-web-development-with-os-x-105-leopard/#comment-1119</guid>
		<description>I had the same symptom Luigi reports (trying to access http://127.0.0.1/~michael/ gave me the 403 error) and could not find anything wrong with the directory and file permissions in ~/Sites.

Finally I found that /private/etc/apache2/httpd.conf sets the default access to &quot;deny from all&quot;. I created the file /private/etc/apache2/users/michael.conf with



Order allow,deny
Allow from all



and then I was able to view the pages in my Sites folder.</description>
		<content:encoded><![CDATA[<p>I had the same symptom Luigi reports (trying to access <a href="http://127.0.0.1/~michael/" rel="nofollow">http://127.0.0.1/~michael/</a> gave me the 403 error) and could not find anything wrong with the directory and file permissions in ~/Sites.</p>
<p>Finally I found that /private/etc/apache2/httpd.conf sets the default access to &#8220;deny from all&#8221;. I created the file /private/etc/apache2/users/michael.conf with</p>
<p>Order allow,deny<br />
Allow from all</p>
<p>and then I was able to view the pages in my Sites folder.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://michaelkrol.com/2007/10/30/local-web-development-with-os-x-105-leopard/comment-page-1/#comment-1106</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Wed, 05 Mar 2008 23:42:25 +0000</pubDate>
		<guid isPermaLink="false">http://michaelkrol.com/2007/10/30/local-web-development-with-os-x-105-leopard/#comment-1106</guid>
		<description>Richard,

It looks like you&#039;ve got an error in the directory you&#039;re looking for. It should have been &lt;code&gt;/Users/richard/Sites&lt;/code&gt;. It seems you may be getting that mixed up with &lt;code&gt;/Library/WebServer/Documents&lt;/code&gt;, which is the default - but is not in your user directory - it&#039;s in the /Library directory at the root of the drive.

It&#039;s possible http://localhost/ is still serving &lt;code&gt;/Library/WebServer/Documents/index.html.en&lt;/code&gt; (the last two letters will change if your language is set to something other than English - or blow away all the files in that directory and simply use index.html). Modify that page to be sure - if you don&#039;t see the changes on refresh, it&#039;s being served from somewhere else. 

As for the 403 error, it&#039;s likely caused by permissions, but everything in your &lt;code&gt;/Users/richard/Sites&lt;/code&gt; directory should be readable by Apache. Hopefully some of the other comments on this post will help - otherwise post again and I&#039;ll see if I can help.

And thanks for the kind words!
-Michael</description>
		<content:encoded><![CDATA[<p>Richard,</p>
<p>It looks like you&#8217;ve got an error in the directory you&#8217;re looking for. It should have been <code>/Users/richard/Sites</code>. It seems you may be getting that mixed up with <code>/Library/WebServer/Documents</code>, which is the default &#8211; but is not in your user directory &#8211; it&#8217;s in the /Library directory at the root of the drive.</p>
<p>It&#8217;s possible <a href="http://localhost/" rel="nofollow">http://localhost/</a> is still serving <code>/Library/WebServer/Documents/index.html.en</code> (the last two letters will change if your language is set to something other than English &#8211; or blow away all the files in that directory and simply use index.html). Modify that page to be sure &#8211; if you don&#8217;t see the changes on refresh, it&#8217;s being served from somewhere else. </p>
<p>As for the 403 error, it&#8217;s likely caused by permissions, but everything in your <code>/Users/richard/Sites</code> directory should be readable by Apache. Hopefully some of the other comments on this post will help &#8211; otherwise post again and I&#8217;ll see if I can help.</p>
<p>And thanks for the kind words!<br />
-Michael</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richard Connor</title>
		<link>http://michaelkrol.com/2007/10/30/local-web-development-with-os-x-105-leopard/comment-page-1/#comment-1105</link>
		<dc:creator>Richard Connor</dc:creator>
		<pubDate>Wed, 05 Mar 2008 23:20:40 +0000</pubDate>
		<guid isPermaLink="false">http://michaelkrol.com/2007/10/30/local-web-development-with-os-x-105-leopard/#comment-1105</guid>
		<description>Found this problem occurring in a clean system installed on my MacBook Air (nice machine, btw - better than the reviews make out!)

The problem as pointed out by Richard above is with permissions: the Users/richard directory was set at drwx------; having messed about for most of the day trying to fix the 403 problem via the config files all I had to do was to chmod to drwxr-xr-x and it works!

But a spooky thing; while http://localhost/~richard/ gave a 403 error, http://localhost/ worked OK and served the standard Apache welcome page - even although this is apparently set to the Users/richard/Library/WebServer/Documents directory (and Library has defaut rx permission only for user.) I had noticed that it wasn&#039;t coming from there - in fact, this directory wasn&#039;t even initialised. What is going on?!

Finally I must say I&#039;m a bit disappointed; after ten years of absence from the Mac world one of the reasons I changed back is that they are supposed to work! So maybe not many people will be running Apache on the MacBook Air, but how can they get this so wrong?

Thanks anyway everyone, a really good, informative and informed thread!</description>
		<content:encoded><![CDATA[<p>Found this problem occurring in a clean system installed on my MacBook Air (nice machine, btw &#8211; better than the reviews make out!)</p>
<p>The problem as pointed out by Richard above is with permissions: the Users/richard directory was set at drwx&#8212;&#8212;; having messed about for most of the day trying to fix the 403 problem via the config files all I had to do was to chmod to drwxr-xr-x and it works!</p>
<p>But a spooky thing; while <a href="http://localhost/~richard/" rel="nofollow">http://localhost/~richard/</a> gave a 403 error, <a href="http://localhost/" rel="nofollow">http://localhost/</a> worked OK and served the standard Apache welcome page &#8211; even although this is apparently set to the Users/richard/Library/WebServer/Documents directory (and Library has defaut rx permission only for user.) I had noticed that it wasn&#8217;t coming from there &#8211; in fact, this directory wasn&#8217;t even initialised. What is going on?!</p>
<p>Finally I must say I&#8217;m a bit disappointed; after ten years of absence from the Mac world one of the reasons I changed back is that they are supposed to work! So maybe not many people will be running Apache on the MacBook Air, but how can they get this so wrong?</p>
<p>Thanks anyway everyone, a really good, informative and informed thread!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://michaelkrol.com/2007/10/30/local-web-development-with-os-x-105-leopard/comment-page-1/#comment-1067</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Wed, 05 Dec 2007 17:58:24 +0000</pubDate>
		<guid isPermaLink="false">http://michaelkrol.com/2007/10/30/local-web-development-with-os-x-105-leopard/#comment-1067</guid>
		<description>Hi Jake,

Check the order of your virtual hosts in your users.conf file. Make sure the first one is for localhost (pointing to your /Users/me/Sites directory) and add all other virtual hosts after that. 

Also, if this is a clean install of Leopard, make sure you uncommented &lt;code&gt;NameVirtualHost *:80&lt;/code&gt; in /etc/apache2/extra/httpd-vhosts.conf. I need to re-write this tutorial from scratch including all steps instead of relying on the &lt;a href=&quot;/2005/11/21/enable-mod_rewrite-on-os-x-104-tiger/&quot; rel=&quot;nofollow&quot;&gt;old post&lt;/a&gt; with updates for Leopard. I&#039;ll let you know when that&#039;s available!

-Michael</description>
		<content:encoded><![CDATA[<p>Hi Jake,</p>
<p>Check the order of your virtual hosts in your users.conf file. Make sure the first one is for localhost (pointing to your /Users/me/Sites directory) and add all other virtual hosts after that. </p>
<p>Also, if this is a clean install of Leopard, make sure you uncommented <code>NameVirtualHost *:80</code> in /etc/apache2/extra/httpd-vhosts.conf. I need to re-write this tutorial from scratch including all steps instead of relying on the <a href="/2005/11/21/enable-mod_rewrite-on-os-x-104-tiger/" rel="nofollow">old post</a> with updates for Leopard. I&#8217;ll let you know when that&#8217;s available!</p>
<p>-Michael</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jake</title>
		<link>http://michaelkrol.com/2007/10/30/local-web-development-with-os-x-105-leopard/comment-page-1/#comment-1066</link>
		<dc:creator>Jake</dc:creator>
		<pubDate>Wed, 05 Dec 2007 16:36:34 +0000</pubDate>
		<guid isPermaLink="false">http://michaelkrol.com/2007/10/30/local-web-development-with-os-x-105-leopard/#comment-1066</guid>
		<description>Hey, great article. Though, when I set up my Virtual Hosts, it always takes me to the main directory (my Users/me/Sites/ instead of Users/me/Sites/phpMyAdmin/)

Any ideas why?</description>
		<content:encoded><![CDATA[<p>Hey, great article. Though, when I set up my Virtual Hosts, it always takes me to the main directory (my Users/me/Sites/ instead of Users/me/Sites/phpMyAdmin/)</p>
<p>Any ideas why?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richard</title>
		<link>http://michaelkrol.com/2007/10/30/local-web-development-with-os-x-105-leopard/comment-page-1/#comment-1054</link>
		<dc:creator>Richard</dc:creator>
		<pubDate>Fri, 23 Nov 2007 06:49:05 +0000</pubDate>
		<guid isPermaLink="false">http://michaelkrol.com/2007/10/30/local-web-development-with-os-x-105-leopard/#comment-1054</guid>
		<description>One thing I&#039;ve noticed is that Leopard was weird with permissions in general, Apache runs off the www user and www does not have permission to access the user directories. I had to use dseditgroup and add www to my user&#039;s group (GID 501), and my problem was immediately resolved!</description>
		<content:encoded><![CDATA[<p>One thing I&#8217;ve noticed is that Leopard was weird with permissions in general, Apache runs off the www user and www does not have permission to access the user directories. I had to use dseditgroup and add www to my user&#8217;s group (GID 501), and my problem was immediately resolved!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
