I took a look at the rewrite and uri directive and am not seeing a way to do this.
A friend of mine has a need rewrite the incoming url to put the hostname into the path of the url. I think he also may want to put the value of certain headers in the path as well. Is there anyway to do this?