Forum Discussion
strich55
Oct 21, 2020Nimbostratus
Hi Dario,
Sorry to be base level, but when using that syntax :
- when HTTP_REQUEST {
- set url "https://[getfield [HTTP::uri] "URL=" 2]"
- set host [URI::host $url]
- set path [URI::path $url]
- set basename [URI::basename $url]
- HTTP::uri $path$basename
- HTTP::host $host
- }
Which pool is triggered? A pool that I need to define as www.xyz.com ?
Thank you
Stephane
- Oct 22, 2020
Hello.
In my case, the pool was configured directly into the VS, but it's also possible to do it in the iRule.
REF - https://clouddocs.f5.com/api/irules/pool.html
There you have examples of how to select pools base on URI.
Regards,
Dario.