Forum Discussion
Rich_L
Jun 17, 2020Nimbostratus
IRule Redirect Appending URI to URL Not working
I need to create a simple iRule to redirect HTTP requests going to a URL (same as the HOST name) to the full URI. Basically appending the URI to the end of the URL. For example, here are the settin...
Mayur_Sutare
Jun 18, 2020MVP
,
Try below iRule. It should work as per your use case.
when HTTP_REQUEST {
HTTP::redirect "https://[getfield [HTTP::host] ":" 1]/OA_HTML/main.jsp"
}
Hope it helps!
Mayur
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