i need redirect request from specific domain/path to other domain with same path, eg.
domain.com/foo/everything --> example.com/foo/everything
I think need use url_reg but I can't understand how to handle the redirect, maybe it could be such a thing?
acl redirect-foo url_reg -i ^domain.com\/foo\/* http-request redirect code 301 location http://example.com/foo/ if redirect-foo but obviously it doesn't work, thank anyone who can help me