cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
697
Views
0
Helpful
1
Replies

ACE http header response

stephg
Level 1
Level 1

Hi,

I have for example a site http://abc.com which response back with the port on which it's being used on the server ex: http://abc.com:9081

How would I rewrite the response remove the port on the server that is being used.

Thank you,

1 Reply 1

Kanwaljeet Singh
Cisco Employee
Cisco Employee

Hi,

You have rewrite the 30x redirect response from server or is it a normal response?

You can try below:

(config)# action-list type modify http H

(config-actlist-modify)# header rewrite response Location header-value http://abc.com:9008  replace http://abc.com

I am using header name as Location. Please use according to your need.

I haven't tried this myself but it should work. Try and let me know.

Regards,

Kanwal