Forum Discussion
PSPK
Nimbostratus
Jul 25, 2017HTTP Post - Redirect
I have a client(browser) requesting an HTTP post request to a VIP-1.
This POST request should be redirected to VIP-2 with the help of an irule.
Can this is be done?
Please help
Jad_Tabbara__J1
Cirrostratus
Jul 26, 2017Hello PSPK,
Try this irule. Apply it to VIP 1
when HTTP_REQUEST {
First identify the POST you may add more condition to identify your particular POST
if { [string tolower [HTTP::method]] eq "post" } {
Redirect the post to the other VS, replace vs-name-vip2 by the VIP 2 VS name
virtual vs-name-vip2
}
}
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