On 2/25/12 2:54 PM, Elli wrote:
Hello,
I have been trying to use the regex remap plugin with ATS v3.0.2 to do
redirects. The plugin has a comment in it
"ToDo: Figure out how we make redirects now from a remap plugin ..." so I
assume the commented out code below it works with a previous version but not in
3.x? Has anyone had any luck with making the redirect work in 3.0.2? I am new
to ATS and found in experiment.h a method
TSHttpTxnRedirectRequest which sounds like it may do what I want but
either doesn't or I am not using it properly. I have set the response
code to 302 which is recognized but no Location header is set. Any help
would be greatly appreciated.
Please try the latest "trunk" version of the regex_remap plugin, and see
if that works for you.
-- Leif