Forum Discussion
Mohan_Kumar_321
Jun 21, 2018Nimbostratus
iRule for uri redrect
Would you mind please verify below iRule for redirecting the traffic which is going to "/career " redirect to https://jobs.abcd.com
if { [HTTP::uri] equals "/careers" } { HTTP::redirect "https:...
- Jun 25, 2018
Issue got fixed with below iRule.
when HTTP_REQUEST { if { [HTTP::uri] equals "/careers" } {
Thank you Stanislas for all your support..!!
Regards, Mohan
Stanislas_Piro2
Jun 21, 2018Cumulonimbus
I should recommend to do it with a policy instead of irule!
Your code may work but I would recommend to :
Filter on HTTP::path instead of HTTP::uri
Use starts_with instead of equals if you want to catch all subdirectories of /careers
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