Re: pointing certain URL's at one server

From: Gabriel Sosa <sosagabriel#gmail.com>
Date: Thu, 25 Mar 2010 14:50:17 -0300


this is what what we have

the relevant part it the acl

"acl admin_acl path_sub admin/"

frontend	http
	mode		http
	log		global

	bind		UUU.VVV.TTT.YYY:80
	acl admin_acl path_sub admin/
	use_backend admin if admin_acl
	default_backend farm1


backend	farm1
	mode		http
	balance		roundrobin
	option		forwardfor
	option		httpclose
	option		httplog
	option 		httpchk
	server www2 AAA.BBB.CCC.DDD:80 weight 1 maxconn 120 check

backend	admin
	mode		http
	balance		roundrobin
	option		forwardfor
	option		httpclose
	option		httplog
	option 		httpchk
	server www3 EEE.FFF.GGG.HHH:80 weight 1 maxconn 120 check	


On Thu, Mar 25, 2010 at 2:32 PM, william pink <will.pink#gmail.com> wrote:
> Hi,
>
> I have had a quick browse but couldn't find any information on it so I
> apologise if it has been brought up before, I want to capture all requests
> to /admin and point them at one server is this possible with Haproxy?
>
> Thanks,
> Will
>

-- 
Gabriel Sosa
Si buscas resultados distintos, no hagas siempre lo mismo. - Einstein
Received on 2010/03/25 18:50

This archive was generated by hypermail 2.2.0 : 2010/03/25 19:00 CET