Configure URL transformation to rewrite and proxy requests

CLI Reference;

  • add transform profile proxy_rewrite
  • add transform action rewrite1 proxy_rewrite 10
  • set transform action rewrite1 -priority 10 -reqUrlFrom “*)” -reqUrlInto “$1” -resUrlFrom “*)” -resUrlInto$1
  • add transform policy rewrite_pol “HTTP.REQ.URL.PATH.GET(1).EQ(\”key\”) && http.REQ.HOSTNAME.EQ(\”\”)” proxy_rewrite
  • bind transform global rewrite_pol 100
Author: mrterdl

Leave a Reply

Your email address will not be published. Required fields are marked *