Forum Discussion
Rodrihe
Mar 01, 2019Altocumulus
Forward with specific URI to pool without changing URL
Hi, DevCentral community!
I've been checking the forum and trying different answers from the community for other requests, but I haven't been able to do what I need to do, this is the scenario:
...
- Mar 01, 2019
Hi,
Instead of using an iRule, have you tried looking at using a rewrite profile instead?
Something like this? (this rewrites http://abc.com to http://abc.com/xyz-xyz/)
tmsh create ltm profile rewrite REWRITE rewrite-mode uri-translation uri-rules add { abc.com { type request client { scheme http host abc.com path / } server { path /xyz-xyz/ } } }
tmsh modify ltm virtual profiles add { REWRITE }
- Note: You will need to make sure that there is an HTTP profile applied to the virtual server
Rodrihe
Mar 04, 2019Altocumulus
This worked for me perfectly, thx!
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