Added Location header processing when using redirect rules