<?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>Dinosaur Hospital &#187; Apple</title>
	<atom:link href="http://www.dinosaurhospital.com/category/apple/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dinosaurhospital.com</link>
	<description>Neil Duffy does stuff. Sometimes.</description>
	<lastBuildDate>Wed, 13 Jan 2010 14:00:35 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>OSX Leopard and .htaccess</title>
		<link>http://www.dinosaurhospital.com/apple/osx-leopard-and-htaccess/</link>
		<comments>http://www.dinosaurhospital.com/apple/osx-leopard-and-htaccess/#comments</comments>
		<pubDate>Fri, 21 Aug 2009 08:45:58 +0000</pubDate>
		<dc:creator>Neil</dc:creator>
				<category><![CDATA[Apple]]></category>

		<guid isPermaLink="false">http://www.dinosaurhospital.com/?p=111</guid>
		<description><![CDATA[Today I got my first Mac. I was delighted to discover that it shipped with Apache and PHP5. So, I spent some time getting MySQL and PHPMyAdmin working on the machine. All of that hummed along at a steady pace where I easily came across the answers to my questions. Then, the snag. I had [...]]]></description>
			<content:encoded><![CDATA[<p>Today I got my first Mac. I was delighted to discover that it shipped with Apache and PHP5. So, I spent some time getting MySQL and PHPMyAdmin working on the machine. All of that hummed along at a steady pace where I easily came across the answers to my questions. Then, the snag. I had downloaded the entire blog to my computer and it wasn&#8217;t working. I recognized the problem as some sort of .htaccess issue early enough but was unable to find the exact answer to my problem.  I dug around for a while before I found anything even close to the solution that I needed. Several blogs list out multiple steps to enable OSX to allow .htaccess mod_rewrite to happen.</p>
<p>They were all wrong.</p>
<p>My /etc/apache2/users/<em>user</em>.conf looked like this:</p>
<p><code>&lt;Directory "/Users/<em>user</em>/Sites/"&gt;<br />
Options Indexes MultiViews<br />
AllowOverride None<br />
Order allow,deny<br />
Allow from all<br />
&lt;/Directory&gt;</code></p>
<p>The only file you have to change to get mod_rewrite working is this one. So, open <em>user</em>.conf:</p>
<p><code>sudo pico /etc/apache2/users/<em>user</em>.conf</code></p>
<p>Make it like this:</p>
<p><code>&lt;Directory "/Users/<em>user</em>/Sites/"&gt;<br />
Options All<br />
AllowOverride All<br />
Order allow,deny<br />
Allow from all<br />
&lt;/Directory&gt;</code></p>
<p>Then you restart Apache:</p>
<p><code>sudo apachectl restart</code></p>
<p>And you&#8217;re all done. Hopefully this will help somebody.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dinosaurhospital.com/apple/osx-leopard-and-htaccess/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
