I would like to have requests to http://example.com/products/some-variable
rewritten to http://catalog.example.com/some-variable
without redirecting the user. In other words, the URL should not change.
I have found an example where something similar is done here, but I can't seem to figure out how to do the opposite.
Thanks in advance!