Forum Discussion
_33_113201
Nimbostratus
Apr 16, 2013BigIP Http: forward
Hello all,
I am trying to use an Irule on the bigIP to forward traffic to a set URL.
I tested the below rule out.
when HTTP_REQUEST{
if {([matchclass [IP::c...
hoolio
Cirrostratus
Apr 16, 2013Hi Vijay,
Can you try this?
when HTTP_REQUEST {
Check if client is in the partner_proxy IP datagroup
if {([class match [IP::client_addr] equals partner_proxy])} {
Rewrite URI to hardcoded value
HTTP::uri "/newlocation.html"
} else {
Redirect client to blocking URL
HTTP::redirect "http://www.accessdenied.com/newlocation.html"
}
}
Aaron
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