Forum Discussion
Giant_K_333645
Nimbostratus
Jun 29, 2018HTTPS Redirect URI to URI
Hi, I have specific Request from the Application Team. They have domain as https://www.abc.com with uri https://www.abc.com/def/ .
now they are decommissioning Servers, and they want https://www.abc.com/def/def.asp.
I have an iRule.. as below, but does not seem to work,
when HTTP_REQUEST{ if {[HTTP::host] equals "; and [HTTP::URI] starts with "/def*"} {HTTPS::redirect ";} }
Can you suggest me some other iRULE.
1 Reply
- Vijay_E
Cirrus
Untested:
when HTTP_REQUEST { if { ([HTTP::host] eq "www.abc.com") and ([HTTP::uri] ends_with "/def/") } { HTTP::redirect "https://www.abc.com/def/def.asp" } }
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