Hien_Truong
Sep 19, 2023Cirrus
Solved
Rewrite the post operation with a body.
Hi;
can you help to write the irule to rewrite the post operation (not uri redirect) with a body as below:
For example: abc-cd.ef.com/abc/v1/jurisdict/configuration rewrite to cd.ef.com/abc/v1/jurisdict/configuration
other example: abc-cd.ef.com/abc/v1/search rewrite to cd.ef.com/abc/v1/search
it mean => abc-cd.ef.com/abc/v1/* rewrite to cd.ef.com/abc/v1/*
Note: this is rewrite in POST operation, it is not redirect uri.
thanks a lot, i appreciate your help.
Hi Kerry/JRalm;
The issue resolved when i changed pool members from DEX to NGINX (using the same irule) since rewrite host name locate in NGINX. Thanks a lot for your support.