Technical Forum
Ask questions. Discover Answers.
cancel
Showing results for 
Search instead for 
Did you mean: 

fallback-host in HTTP profile with [HTTP::uri]

Peter_Rinak
Nimbostratus
Nimbostratus

Hi,

 

Is it possible to configure fallback host with [HTTP::uri] in http profile in order to preserve originally requested uri when fallback host is triggered or is it only possible to do this via irule?

 

URL: http://host1/uri1

Desired: fallback-host (in HTTP profile) http://host2/uri1 -----> Is this possible?: http://host2/[HTTP::uri]

1 REPLY 1

ka1021
Altostratus
Altostratus

You might need to override fallbackhost using LB_FAILED event iRule.

 

when LB_FAILED {

 HTTP::fallback "http://host2.com[HTTP::uri]"

}