Forum Discussion
Deepak_Nair
Cirrus
Jan 20, 2021HTTPS REDIRECTION : Specific NODE using iRULE
Hi Experts , i am working on one requirement where i need to redirect https://www.example.com needs to redirect to specific NODES ( 8 nos ) based on URI PATH . i have created a layer 7 virtua...
Deepak_Nair
Cirrus
Jan 22, 2021i Wrote a sample to see if this work .
when HTTP_REQUEST {
if {([string tolower [HTTP::host]] equals "test-esb-vip-bma.bhp.com") &&
[HTTP::uri] starts_with "/cts" }
{
HTTP::header replace "Host" "10.30.230.15:4515"
HTTP::uri
}
}
The Irule is hitting BUT connection is getting RESET .
Jan 22, 2021
But now the BIG-IP doesn't know where to send the request...
when HTTP_REQUEST {
if {([string tolower [HTTP::host]] equals "test-esb-vip-bma.bhp.com") && [HTTP::uri] starts_with "/cts" } {
HTTP::header replace "Host" "10.30.230.15:4515"
node 10.30.230.15 4515
}
}Sorry for the formatting..... Can you try the above irule?
Cheers,
Kees
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
