Here's a dev configuration for wp-config based on Mark Jaquith's blog post at http://markjaquith.wordpress.com/2011/06/24/wordpress-local-dev-tips/