Forum Discussion
Lance_Simon_557
May 03, 2007Historic F5 Account
redirect iRule to different uri
have a vip on port 80
pool members on port 50100
need to have this come to the vip
http://sapxpq.browning.k12.ia.us
and redirect it to
http://sapxpq.browning.k12.ia.us:50...
Deb_Allen_18
May 04, 2007Historic F5 Account
Hey Lance --
Both rules take the right approach for the simple redirect you requsted, but since HTTP/1.1 requires an absolute redirect, I'd recommend citizen_elah's post with one modification:
Change
[HTTP::uri]
to [string length [HTTP::uri]]
to test whether the URI is longer than "/".(And I agree that the customer may not yet have given you a complete and accurate description of his requirements...)
HTH
/deb
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