Is it possible to change host in headers for included fragment?
For example, i have some "blackbox" application on 192.168.2.144, and second instance on 192.168.2.145. Instances are independent, but both need to "listen" on host "www.someblackbox.com".
So i need something like this:
Bit late reply but if you are still looking for answer:
The better approach would be to simply in OHS set the ServerName on both to www.someblackbox.com . That way OHS will normalize whatever host header is sent from Web Cache into ww.someblackbox.com . If you are not using OHS, that should work with any Apache based server. Don't know about IIS or SunOne.
One other idea would be to set up two SITE definitions. With path based sites. Then the includes could specify hostname directly instead of IP address. For example: