On Mon, 10/07/2013 08:36 AM, Baptiste <[email protected]> wrote:
> Hi Eneal (and others),
> 
> Why do you want to rewrite before redirecting?
> That's the 4th request like this we saw very recently on this ML and I
> want to know what's happenging (maybe it deserves a blog post :p )
> 
> Baptiste

If I understand it properly, rewrites have to do with the way/manner in which 
haproxy makes the request from the backend servers. It's transparent to the 
clients (e.g. user agent).
A redirect is not transparent to the user agent. 

Please correct me if the above is incorrect. 

Since I am still learning about haproxy, I was merely following some examples 
out there in the Internets. My goal is simple:

user agent requests URL w/o www. 
redirect that user to url with www.
configure it in such a manner that one config block can be applicable to all 
frontends. 


Reply via email to