On Thu, Jul 3, 2014 at 9:38 PM, Jeffrey Scott Flesher Gmail <jeffrey.scott.fles...@gmail.com> wrote: > I have a url that always begins with ww, ie http://domain.tdl/ww/en/..., I > want to rewrite the url to include the ww, > I tried the below, it works, but changes the path or something, > because it cause the resources like css and images to not appear (404), > does anyone know how to fix this or do this the right way? > > acl has_ww_uri path_beg -i /ww > reqirep ^([^\ :]*)\ /(.*) \1\ /ww/\2 if !has_ww_uri >
Hi Jeffrey, Can you clarify a bit your question, cause you're confusing me. please send us an example of what you get in HAProxy and how you want it out after HAProxy has rewritten it. Baptiste