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.