mfrench_267209
Dec 16, 2016Nimbostratus
Rewriting the HOST and part of the URI
Here's the goal:
should load the website from:
I've successfully replaced the domain/host using the following code:
if {($r_host equals "www.marketing-url.com")} then {
HTTP::header replace host "not-so-friendly-domain.com"
}
But my attempts at modifying the URI or Path have not been working. Can anyone recommend a strategy for loading a website from another server & path without changing the URL? It's OK (and preferable) to display the filename after the domain, just not the original '/path-to-website/'.
Thanks for any help!