Forum Discussion
iRule for Redirection
I am hosting a web application on LTM with a single pool member. The application is accessible via URL where x.x.x.x is the server IP on which application is hosted. I want to host the application in such a way on LTM such that /PMT URI part is not visible to end user. So if the application's VS IP on LTM is y.y.y.y it should be accessible using only without any additional URI getting appended such as /PMT.
- Stanislas_Piro2
Cumulonimbus
You can do it without irule...
Create a rewrite profile uri translation mode...
In this profile, create one rule with
- Client uri : /
- Server uri : /PMT/
the ending / is required...
- Stanislas_Piro2
Cumulonimbus
Your requirement is rewriting, not redirect...
Redirect is when the server respond with a 30x code and location header with new uri
Recent Discussions
Related Content
* 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