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

when to use action-list vs redirection

axfalk
Level 1
Level 1

We're supporting a pair of redundant ACE SM's and need to remove a suffix from a URI for a certain rule. For instance, if the uri is https://abc.system.com, we would need to remove the "abc" and send the uri as https://system.com. Would we use redirect or define the following action-list:

header rewrite response Location header-value "https://abc.system.com" replace https://system.com ?

Thanks..

2 Replies 2

Gilles Dufour
Cisco Employee
Cisco Employee

If your server is already sending a redirect, you can use the action-list solution.

The "Location" header is only present inside redirect.

It is preferable like this because the client will immediately get the right Location.

Otherwise, it will get the wrong location from the server, and ACE will need to send its own redirect.

So 2 redirects to eventually go the right uri.

If your server is not using redirect, you have no other choice than using the redirect feature on ACE.

The action-list can't be used to modify the uri inside the http request and it also can't be used to change the linnks inside a server response.

Gilles.

Thanks for your response. The servers aren't using redirect and I did not think we had to do it on the ACE either, as all we're doing here is sending the packets to the same physical servers, just modifying the header. Am I mistaken and we still need to do redirect on the ACE?

thanks again..

Review Cisco Networking for a $25 gift card