I'd appreciate advice on how to use HTTP::Proxy to have foo.com mirror bar.com.
In more detail:
* I own two domains: foo.com and bar.com* I want foo.com to be more-or-less identical to bar.com, with some minor modifications.
* bar.com is served on a 3rd-party, proprietary, hosted CMS that doesn't support having foo.com as an alias.
* It does however support query strings like ?style=foo, so I could make bar.com/baz.html?style=foo render the look I want.
* foo.com/baz.html would be served by HTTP::Proxy, which would fetch bar.com/baz.html?style=foo, and modify all the bar.com links in the page (most of which are absolute URLs) to say "foo.com"
* In addition to foo.com, I'd also want several other domains {a,b,c}.com all doing the same ?style={a,b,c} trick
The main part that is unclear to me is whether HTTP::Proxy can act as a webserver for a specific host without acting as a general proxy.
Your help would be greatly appreciated!!