Forum Discussion
pw-itc
Nimbostratus
Mar 13, 2019Rewrite, iRule
Hi,
we have the following situation.
name.abc.com/ -> ProdServerFQDN/application
name.abc.com/dev -> DevServerFQDN/application
For casting / -> /application and /dev -> /applicati...
Arie
Altostratus
Mar 13, 2019A few observations after a quick glance:
- Instead of
I would recommend matching (i.e.starts_with
) the actual host. This avoids issues if another instance is added at some point.eq - The FQDN you're using is invalid. Although I assume it's a placeholder, make sure you drop the slash (
)./ - The path you're matching (
) may be too limited. Keep in mind that other valid matches may include/dev
,/dev/
, et cetera. This would be a good candidate for/dev/index.html
.starts_with - I would group the header manipulations. In other words, move the pool selection to the bottom.
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
