Forum Discussion
strich55
Nimbostratus
Oct 20, 2020Migrating from IIS - URL rewrite issue
Hi, I have a URL rewrite rule in IIS that I need to migrate to F5. That rewrite rule is used by software developper, so I don't know what they are going to include in the HTTP request. The wa...
strich55
Nimbostratus
Oct 21, 2020Hi 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
Dario_Garrido
Noctilucent
Oct 22, 2020Hello.
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.
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