Forum Discussion
Lee_Sutcliffe
Oct 10, 2018Nacreous
Your iRule looks fine and the string map logic is correct - I've tested it nativity in TCL:
% set uri /one/two/three
/one/two/three
% set new [string map {"/one" ""} $uri]
/two/three
If you are receiving a bad request from the pool member - it maybe that the new URI is incorrect and the web server is unable to process it.