Forum Discussion
sidiov
Nimbostratus
Jan 11, 2012transparent redirect question
Hi,
I want to take a request to a domain that contains a string and redirect based on that string without the client knowing a redirect took place (ie. getting different content based on tha...
nitass
Employee
Jan 13, 2012But I want to load the content from the other server whether it exists in the first domain or not.if you want to send traffic to another server (pool member), can you try node command?
node wiki
http://devcentral.f5.com/wiki/iRules.node.ashx
e.g.
when HTTP_REQUEST {
if { [string tolower [HTTP::uri]] contains "/11string11"}{
set uri [string map {"/11string11" ""} [HTTP::uri] ]
HTTP::header replace "Host" "beta-s.domain.com"
HTTP::uri "$uri"
node x.x.x.x 80
}
}
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