Forum Discussion
dwhite12_255934
Nimbostratus
Aug 11, 2016Assistance with Custom iRule for URI
Devlopers are looking for this requested behavior:
When incoming requests originate as "uat.testsite.com/unsubscribe.php", this should be redirected/changed to "uat.testsite.com/testsite/unsubs/...
Vijay_E
Cirrus
Aug 11, 2016when HTTP_REQUEST {
if { [HTTP::host] eq "process.uat.testsite.com" } {
HTTP::respond 301 Location "http://uat.testsite.com/testsite/signups/process/legacy"
} elseif { ([HTTP::host] eq "uat.testsite.com") and ([string tolower [HTTP::uri]] eq "/unsubscribe.php") } {
HTTP::respond 301 Location "http://uat.testsite.com/testsite/unsubs/unsubscribe.php"
}
}
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