Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

305 & 307 rewrite/redirection

We're configuring the ACE and need it to be able to handle the 304 and 307 tyoe of rewrite/redirections that the back-end servers are doing. We have successfully used the following command for the 301/302 redirection:

header rewrite response Location header-value "http://(.*)" replace "https://%1"

However, I do not think it's working for the 304/307 type of redirection. Can someone please point me to a doc which explains how to configure different type of rewrite/redirections on the ACE?

Thanks..

1 REPLY
Cisco Employee

Re: 305 & 307 rewrite/redirection

Do you have a sniffer trace showing the response.

ACE does not actually care about the response code.

You are doing a simple header rewrite which look for the "Location" header and replace its content accordingly.

So it should for all respone code as long as the response contains a Location header.

Gilles.

272
Views
0
Helpful
1
Replies
CreatePlease to create content