Forum Discussion
Blake_Traister2
Oct 04, 2010Nimbostratus
Rewrite URL and keep with POST method
Hey all
So I have read in earnest peoples struggles with POST methods. I have a similar issue.
I am using an iRule to parse out the URIs that comeinto the vip. Anything that matches (example) pookie needs to have its URL rewritten and resubmitted using the POST method.
Redirects are changing the POST to GET which is causing problems.
I decided to not worry about URL rewriting and just started pointing the traffic to a different pool:
when HTTP_REQUEST {
if { [HTTP::uri] starts_with "/pookie" } {
pool dev-adchat_5280
}
}
it is difficult for me to see if this is working properly. There is another irule that adds HTTP headers and im concerned thats altering the POST method also.
Any thoughts are greatly appreciated.
- Ben_95489NimbostratusHey Blake,
- hooleylistCirrostratusIf rewriting the response which prompts the user to send the POST request isn't possible, you could try an option Nat came up with here:
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