I have a situation that I need the ACE to re-write a portion of the client header. I can configure the class-map to identify the traffic, but am unsure how to configure the policy map. The client header contains an sid value and we want the header to delete that value before forwarding to the server. From a packet capture, the http request contains the following:
Get /testpage?sid=123456789 HTTP/1.1\r\n
Host: http://www.example.com\r\n
Need to change to:
Get /testpage HTTP/1.1\r\n
Host: http://www.example.com\r\n
Note that the /testpage portion of the Get will vary by page.
I also notice the sid value in the Referer header value and may need to change that as well.
Referer: http://www.example.com/otherpage?sid=123456789
TIA for your help.