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

305 & 307 rewrite/redirection

axfalk
Level 1
Level 1

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 1

Gilles Dufour
Cisco Employee
Cisco Employee

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.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: