Forum Discussion
pw-itc
Mar 13, 2019Nimbostratus
Rewrite, 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
Mar 13, 2019Altostratus
A 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.
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