Using Apaches mod_rewrite to access files in a different directory

I like clean URLs. Nothing more than:

http://example.com/page-name

This is part of how I set that up when I was using apache via mod_rewrite

TODO: Add more details on exactly what this is doing.