Making your blog appear in a non-root folder

Suppose you have Wordpress running at http://example.com/. Suppose further that you want your blog to be located at http://example.com/blog/ and that you want other pages to be available at http://example.com/