Forum Discussion
Robert_47833
Aug 07, 2011Altostratus
HTTP::header replace Host and HTTP:redirect
Hi,dear irule
1:if there are rule1 and rule2 under one VS,order is rule1 and rule2
rule1:
when HTTP:request {
if { [HTTP::host] euqals "www.srwd18.com"} {
HTTP::redirect "h...
Robert_47833
Aug 07, 2011Altostratus
Hi,
yes,it is not supported,
so how to make irule below work
when HTTP::REQUEST {
if {[HTTP::host] equals "www.srwd18.com"}{
HTTP::header replace Host "www.baidu.com"
return}
}
or how to reslove
there are 2 datacenter, same website ,if I want to forward traffic in site1 to site2 ,how to forward them?
The only way I can think about is HTTP::REDIRECT,but this will change the item/address in client's broswer
so it seems HTTP::header replace Host is a good choice,
can't it be done by gtm?
-----some downstream dns server ignore the TTL set in GTM.so they cache the record more than TTL ,maybe 24 hours,
that is why I try to achieve via redirect or forward
Do u have some method to achieve this
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects