Forum Discussion
redirects with get / post
- Sep 04, 2013
It get redirected to a GET request
First, thank you all for your help, Still having trouble understanding. Below is the exact irule from the LTM, other comments are from the Web Developer. Im in the middle F5 Admin and the HTTP Developer says it fails the Post. So help me to bridge the gap. Lets startover.. Kevin, let me give you the current iRule, below. Richard, Boneyard, are your comments for me of http developer?
when HTTP_REQUEST { if { ([string tolower [HTTP::host]]) contains "unitynet.mysite.com" } { switch -glob -- [string tolower [HTTP::uri]] { "akcelerantws.asmx" { HTTP::redirect "https://webservices.mysite.com/Unity/Akcelerantws.asmx" } "credispherewsv2.asmx" { HTTP::redirect "http://webservices.mysite.com/Unity/CrediSphereWSV2.asmx" } "interfaceservice.asmx" { HTTP::redirect "https://webservices.mysite.com/Unity/InterfaceService.asmx" } ::"meridianlinkws.asmx" { HTTP::redirect "https://webservices.mysite.com/Unity[HTTP::uri]" } "unitysailws.asmx" { HTTP::redirect "https://webservices.mysite.com/Unity/UnitySAILWS.asmx"
} "unityweblet.asmx" { HTTP::redirect "https://webservices.mysite.com/Unity/UnityWeblet.asmx"
} "weblet.asmx" { HTTP::redirect "https://webservices.mysite.com/Unity/UnityWeblet.asmx" } } } }
- Richard__HarlanSep 04, 2013Historic F5 AccountThe iRule was for the f5. The browser sending the post request will not resend the post request to the 302, it mite work if you send it a 307 that depends on the browser but it open up a security risk. The iRule in question will cause the browser to run some Javascript to redirect to the post to the correct location.
Recent Discussions
Related Content
* 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