cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
733
Views
0
Helpful
2
Replies

insert http header ace 4710

gaboughanem
Level 1
Level 1

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

2 Replies 2

sesoerensen
Level 1
Level 1

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

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.

Review Cisco Networking for a $25 gift card