<?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>Ronald! &#187; apple</title>
	<atom:link href="http://www.rchu.nl/tag/apple/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.rchu.nl</link>
	<description>My own little corner of the world wide web</description>
	<lastBuildDate>Mon, 12 Jul 2010 23:44:52 +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>OS X, Apache and symbolic links</title>
		<link>http://www.rchu.nl/2009/09/os-x-apache-and-symbolic-links/</link>
		<comments>http://www.rchu.nl/2009/09/os-x-apache-and-symbolic-links/#comments</comments>
		<pubDate>Tue, 29 Sep 2009 10:55:58 +0000</pubDate>
		<dc:creator>ronald</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[LJ Crosspost]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[macbook]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[Website]]></category>

		<guid isPermaLink="false">http://www.rchu.nl/?p=399</guid>
		<description><![CDATA[I use my laptop a lot for web developement, and for some projects I have more files than just the web documents that Apache needs to see. For those I have a directory in my ~/Documents with (amongst other things) a httpdocs directory. I&#8217;d like to just see that in my browser by creating a [...]]]></description>
			<content:encoded><![CDATA[<p>I use my laptop a lot for web developement, and for some projects I have more files than just the web documents that Apache needs to see. For those I have a directory in my ~/Documents with (amongst other things) a httpdocs directory. I&#8217;d like to just see that in my browser by creating a symbolic link in my ~/Sites directory. This proved to be somewhat difficult in OS X 10.5 and also in my fresh installation of 10.6.</p>
<p><span id="more-399"></span></p>
<h2>Creating a web symlink in 10.6</h2>
<h3>Configure Apache</h3>
<p>The installation of Apache that ships with OS X I use doesn&#8217;t allow symlinks by default, so I&#8217;ve added <code>Options +FollowSymLinks</code> in the Apache configuration. These are located in <code>/private/etc/apache2</code> and while you could enable this in <code>httpd.conf</code> I like to keep the system-wide configuration as clean as possible and edited the  (ronald is my username) instead. I&#8217;ve also added <code>AllowOverride All</code> there to be able to use <code>.htaccess</code> files, but thats another topic.</p>
<p>Restart Apache by disabling and enabling &#8220;Web Sharing&#8221; in the sharing preference pane</p>
<h3>Create a symlink</h3>
<p>That&#8217;s just a matter of executing<code> "ln -s ../Documents/website ." </code> in the <code>~/Sites</code> directory. Alas browsing to <code>http://localhost/~ronald/website</code> gives a 403 (forbidden) page. Inspecting the serverlog tells me that either apache is not allowed to follow symlinks (which it is) or the _www user hasn&#8217;t got enough rights to access <code>~/Documents/website</code>.</p>
<h3>It&#8217;s all about permissions</h3>
<p>Well, that&#8217;s just stupid because the directory is readable/executable for everyone. Changing my <code>~/Documents</code> folder to be world readable/executable did the trick. Apparently every directory in the path needs to be accessible. Damn me and my inferior UNIX permissions knowledge!</p>
<p>So it&#8217;s either making my entire Documents directory world readable, which I don&#8217;t really like, or adding the _www user and myself to some group and change ownership of my Documents directory to that group to make my entire Documents folder readable for myself and the _www user, which is slightly less bad. So chmodding everything except the directories linked for web access inside the Documents folder 700 seems the right way to go.</p>
<p>In 10.5 the holy grail was to mess around with the<a href="http://www.red-sweater.com/blog/427/out-of-my-access-control"> Access Control List</a> but that wasn&#8217;t needed in 10.6, so I suggest leaving that part alone.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rchu.nl/2009/09/os-x-apache-and-symbolic-links/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>NetNewsWire</title>
		<link>http://www.rchu.nl/2009/06/netnewswire/</link>
		<comments>http://www.rchu.nl/2009/06/netnewswire/#comments</comments>
		<pubDate>Tue, 02 Jun 2009 23:07:12 +0000</pubDate>
		<dc:creator>ronald</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[LJ Crosspost]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://www.rchu.nl/?p=288</guid>
		<description><![CDATA[There are a lot of RSS readers out there, but since I have little requirements I just stick with reading my RSS feeds in Apple Mail. A few weeks ago the products of Newsgator got my attention.
The application for the Mac looks pretty standard. Multiple feeds organisable in folders, three panes, the usual. The two [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.newsgator.com/individuals/"><img class="alignright size-full wp-image-289" style="border: 1px solid black;" title="NewsGator Logo" src="http://www.rchu.nl/wordpress/wp-content/uploads/picture-1.png" alt="NewsGator Logo" width="289" height="176" /></a>There are a lot of RSS readers out there, but since I have little requirements I just stick with reading my RSS feeds in Apple Mail. A few weeks ago the products of <a href="http://www.newsgator.com/individuals/">Newsgator</a> got my attention.</p>
<p>The application for the Mac looks pretty standard. Multiple feeds organisable in folders, three panes, the usual. The two things I like a lot after using it for a few weeks are the a build-in browser so you don&#8217;t have to switch back and forth between your browser and news reader and the support for <a href="http://en.wikipedia.org/wiki/Digest_access_authentication">HTTP digest authentication</a> which is used by <a href="http://www.livejournal.com/">Livejournal</a> to gain access to the <a href="http://www.livejournal.com/support/faqbrowse.bml?faqid=149">feeds of livejournals</a> including the protected posts (if your LJ account has access to those).</p>
<p>The iPhone application is okay, haven&#8217;t used it that much.</p>
<p>But the good part is, besides the fact that these are both free applications, that they sync with each other via a free account at newsgator, so when I read a post on my mac the same post isn&#8217;t marked as unread anymore on my iPhone and vica versa. They also provide a web-based RS reader when you login to Newsgator which is a nice extra which I probably won&#8217;t use. It only seems usefull when I have some time to kill somewhere when I&#8217;m around a computer with internet access and without both my laptop and phone. But it&#8217;s a nice extra.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rchu.nl/2009/06/netnewswire/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How Apple runs nasty tricks</title>
		<link>http://www.rchu.nl/2008/10/how-apple-runs-nasty-tricks/</link>
		<comments>http://www.rchu.nl/2008/10/how-apple-runs-nasty-tricks/#comments</comments>
		<pubDate>Thu, 16 Oct 2008 21:38:33 +0000</pubDate>
		<dc:creator>ronald</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[apple]]></category>

		<guid isPermaLink="false">http://www.rchu.nl/2008/10/how-apple-runs-nasty-tricks/</guid>
		<description><![CDATA[Sometimes when people find out I own a Macbook and since a week also an iPhone they call me an apple-freak. There are of course many apple fans always bashing the PC/Windows users and vica versa, but I don&#8217;t think I belong to those groups. I like the apple products, and thats my prerogative. And [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes when people find out I own a Macbook and since a week also an iPhone they call me an apple-freak. There are of course many apple fans always bashing the PC/Windows users and vica versa, but I don&#8217;t think I belong to those groups. I like the apple products, and thats my prerogative. And I cenrtainly don&#8217;t think all Apple does is great. It&#8217;s really funny to watch keynotes and see the crowd going wild when Steve Jobs introduces a new color for the iPod, to observe the way they price the only make the cool colored iPods the most expensive ones and the fastest macbook only in black.</p>
<p>Recently I have been searching the web for ways to sync my iPhone and Laptop wireless and found only <a href="http://gizmodo.com/5013150/3g-iphone-getting-wireless-itunes-sync-via-bonjour">rumors</a> that it would be possible and only custom-build <a href="http://justanotheriphoneblog.com/wordpress/2007/12/19/wisync-for-iphone-wireless-sync-new-name-new-features-all-gui-based-now/">workarounds</a> that don&#8217;t get the trick just right yet (though it is a good piece of work). Today I think I found out why this is the case when I stumbled upon <a href="http://www.me.com">MobileMe</a>, a online service by Apple which enables users to sync all of their devices wireless. Oh, and I am unable to find on their site howmuch this service costs, only that I can try it out for free for six months&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rchu.nl/2008/10/how-apple-runs-nasty-tricks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Vista on my MacBook, part two</title>
		<link>http://www.rchu.nl/2008/07/vista-on-my-macbook-part-two/</link>
		<comments>http://www.rchu.nl/2008/07/vista-on-my-macbook-part-two/#comments</comments>
		<pubDate>Thu, 03 Jul 2008 12:13:40 +0000</pubDate>
		<dc:creator>ronald</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[macbook]]></category>

		<guid isPermaLink="false">http://www.rchu.nl/2008/07/vista-on-my-macbook-part-two/</guid>
		<description><![CDATA[The bad part about a deceased hard disc is that I&#8217;ve had to live a full week without my MacBook. The good part is that using the Leopard DVD I could simply restore my entire system from backup putting it in the state of the last backup which happend to be a few hours before [...]]]></description>
			<content:encoded><![CDATA[<p>The bad part about a deceased hard disc is that I&#8217;ve had to live a full week without my MacBook. The good part is that using the Leopard DVD I could simply restore my entire system from backup putting it in the state of the last backup which happend to be a few hours before the hard disc died. Great, only too bad that I had to reïnstall Vista again.</p>
<p>Not that I use Vista much, so just a clean install and adding some programs should do just fine. I also thought to be smart and leave some unpartitioned space for the installation, saving me a partition resize using the Bootcamp Assistant. Just too bad that the disc is partitioned using a GUID Partition Table (GTD) which is not supported. Vista (or any other flavour of Windows for that matter) requires a Master Boot Record (MBR).</p>
<p>Many web pages tell me to use Disk Utility to change the disc from GTD to MBR, but unless they are refering to a different Disk Utility mine does not have that option. I almost made a bootable CD with <a href="http://refit.sourceforge.net/">rEFIt</a> (which is used in the tutorial to install OSX/Windows/Linux on a macbook) but decided to stop experimenting around and simply use the Boot Camp Assistant to erase the Bootcamp partition and then to create a Bootcamp partition. Lame solution. Takes about 2 minutes.</p>
<p>Thinking ahead&#8230; brilliant!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rchu.nl/2008/07/vista-on-my-macbook-part-two/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
