Forum Discussion
Nandan_01_13367
Nimbostratus
Sep 13, 2013iRule Script request
Hello,
We have a redirect need as explained below. Please let me know if you have an iRule script that can satisfy it.
Redirect
https://bbb.aaa.com/level1/level2/level3.aspx?{dynamical...
Kevin_Stewart
Employee
Sep 14, 2013Is there any specific condition that has to be met for this redirect to happen? Is it a specific URI?
if { [string tolower [HTTP::uri]] starts_with "/level1/level2/level3.aspx" } { ...
Is it a specific host name?
if { [string tolower [HTTP::host]] equals "bbb.aaa.com" } { ...
Or do you simply redirect all traffic from an HTTPS site to an HTTP site?
when HTTP_REQUEST {
HTTP::redirect "http://[HTTP::host][HTTP::uri]"
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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