Forum Discussion
purna_256577
Nimbostratus
Nov 07, 2016Request for redirection of URL from https://abc.com/ to https://abc.com/irj/portal
Request for redirection of URL from https://abc.com/ to https://abc.com/irj/portal and after redirection /irj/portal should not be visible to the users on the browser. Please let me know if you have any irule achieve above requirement.
VIP:10.x.x.x
Hi Purna,
Try this irule. Hope it will work for you.
when HTTP_REQUEST { if { [HTTP::host] eq "abc.com" and [HTTP::uri] starts_with "/" } { HTTP::header replace Host "https://abc.com/ijr/portal" } }
- ekaleido
Cirrus
- Samir_Jha_52506
Noctilucent
Hi Purna,
Try this irule. Hope it will work for you.
when HTTP_REQUEST { if { [HTTP::host] eq "abc.com" and [HTTP::uri] starts_with "/" } { HTTP::header replace Host "https://abc.com/ijr/portal" } }
- purna_256577
Nimbostratus
thanks for the infor, i will truy
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