Hi, yes, we do want a rewrite. The initial request that came to us also included a request to redirect at the same time, but now that I think about this (since it's my first time trying to accomplish this) I think we can just do a rewrite.
EXAMPLE: alias.com > alias.com/path (this path is on backend servers that domain.com points to). Originally I was thinking I would have to do the following: alias.com > domain.com/path > replace domain.com with alias.com > end up with alias.com/path. If we're connecting to alias.com/path now, would the backend servers for domain.com need extra configuration? Would we need them to accept incoming requests for alias.com as another VirtualHost? Thanks -----Original Message----- From: Lukas Tribus [mailto:[email protected]] Sent: Tuesday, June 16, 2015 8:28 AM To: BGaudreault Brian; [email protected] Subject: RE: HAProxy Redirect Domain While Retaining Original Domain Name In URL Hi Brian, > Thanks for your suggestion. Unfortunately it's not clear how I would > use this command and format it when doing a redirect. I read the > HAProxy 1.5 documentation, but it wasn't detailed enough. You don't want a redirect, you explicitly asked for a rewrite: "retaining original domain name in URL". This is a rewrite, not a redirect. With my suggestion you are replacing the Host header. Is that not what you want? What do you want? Please "Replay to All" including the mailing list, thank you. Lukas

