domain

Redirect requests for a directory to a subdomain

Imagine you have a website and a subdirectory (say, http://example.com/gallery/) and you now want to make use of a subdomain instead (say, http://gallery.example.com)

Doesn't sound too hard, does it?