Re: haproxy: authorization based on subrequest

2016-09-15 Thread ge...@riseup.net
Hi Gopal, all, On 16-09-11 04:37:00, Raghavan, Gopal wrote: > > Is there a way to apply client authorization based on the result of a > subrequest. If the subrequest returns a 2xx response code, the access > is allowed. If it returns 401 or 403, the access is denied with the > corresponding error

haproxy: authorization based on subrequest

2016-09-10 Thread Raghavan, Gopal
Hi, Is there a way to apply client authorization based on the result of a subrequest. If the subrequest returns a 2xx response code, the access is allowed. If it returns 401 or 403, the access is denied with the corresponding error code. This is similar to: http://nginx.org/en/docs/http/ngx_h

haproxy: authorization based on subrequest

2016-09-10 Thread Raghavan, Gopal
Hi, Is there a way to apply client authorization based on the result of a subrequest. If the subrequest returns a 2xx response code, the access is allowed. If it returns 401 or 403, the access is denied with the corresponding error code. This is similar to: http://nginx.org/en/docs/http/ngx_h