01-23-2011 06:24 PM
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..
01-24-2011 12:07 AM
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.
01-24-2011 10:57 AM
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..
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