Forum Discussion
Hannes_Rapp
Oct 06, 2015Nimbostratus
You can use
switch -regexp [HTTP::host]
instead of switch -glob [string tolower [HTTP::host]]
Have a look at
switch -regexp
in action in this thread: https://devcentral.f5.com/questions/disable-port-translation-in-an-irule-or-node-usage
Good luck!
- Edit: Have removed the tip where I suggested to avoid converting HTTP Host to lower-case string. Unfortunately, not all HTTP Client or Web Service Libraries are as clean as web browsers and not all of them comply with the DNS standard.