01-10-2013 02:15 AM
Hi,
I have an ACE version A5.2 configured in one-armed leg (doing source nat). I have a requirement to add(or copy) the "referer" header value from the original request to the request send by ACE.
I cannot figure out how to copy this value. It is easy to add the source ip address by adding: " insert-http x-forwarded-for header-value "%is".
So how I am going to copy the Refere header?
Referer | Address (URI) of the resource from which the URI in the request was obtained |
Thank you in advance.
Regards,
George
01-10-2013 04:30 AM
Oi mate,
If the client sends a specific header to the ACE in the http flow, you can inject the header using an action-list, and apply the action list to the class-map attached to the L7 policy map.
Although currently, the Referer header is not supported for injection, you can load balance on its parameters, and forward the information to the rservers.
Cheers,
Søren
Sent from Cisco Technical Support iPad App
01-10-2013 05:29 AM
Hey man,
Thank you for the reply.
As I understood that I cannot copy the Referer header from the original http header to the http header send from ACE to the server.
I was searching if this cannot be done but i have not found any document, can you please point me to a link that says that the referer header cannot be copied.
Thanks again.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide