305 & 307 rewrite/redirection

Unanswered Question
Nov 1st, 2009

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?


I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Gilles Dufour Mon, 11/02/2009 - 06:53

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.



This Discussion