Hello, currently i'm playing around with haproxy to replace our current Big-IP/Lighttpd based LoadBalancing & Proxy solution.
Now i'm kinda stuck - i try to do a redirect (301) to a different domain and a different URI, including a parameter from the old uri in the new one. Example: Request to: www.example.com/123 should be redirected using a 301 to www.example2.com/some/path/123 The only solution i came up with would be to use reqirep to rewrite the URI, and than have an acl which matches exactly the old-domain+new-uri scheme and use redirect code 301location... for the redirect. But this looks somehow ugly... is there a better/easier way to do these kind of redirects? Thanks a lot! Moritz

