Create a folder testsite.dev in your ~/Sites folder and immediately access it with your browser by using http://testsite.dev, without changing your apache config or adding sitenames to your DNS or /etc/hosts file. That's what you can do after following the instructions in this post!

I've added the Dynamic sitemap add-on to my Statamic Add-ons page

Enjoy !!

History:

Since running my own sites, I've been using several techniques to keep the site running.

In 1996 when I started having my own site just HTML with javascript, in 1997 I started toying around with some vanilla PHP sites and in 2001 I put up some sites with phpNuke. In 2003 I started using Drupal and in 2005 I settled with Wordpress.

NOTE : This post was sitting in my drafts for way too long (over 7 months now), so I'll just post it in the hopes someone likes it. There could be rough edges here and there, but hey, that's what the contact page is for... ;)

Because I tend to do some PHP development on my MacBookPro runnin OSX 10.7(Lion) and want to be able to test the email-functionality, without the system actually sending email to people, I was on the lookout for an easy way to accomplish this in such a way, that I would be able to collect all mail and display both text and HTML versions of it. I found MockSMTP, and it works like a charm. In this post we'll set it up and configure the system to route all mail to MockSMTP, even when it's not running.

If you enable mod_security on your apache server and you install the base-rules, you'll probably notice the WordPress blog isn't functioning correct anymore.

To fix this, you could add the following between the <vhost> tags in your vhost file that powers your blog: