AW: [users@httpd] Apache load balancing based on http request body content

2017-03-09 Thread Chen, Yongcheng
balancing based on http request body content Yeah... if really required, sticky sessions are the quickest way... As Nick sez, having to parse the payload slows things way down. > On Mar 9, 2017, at 7:48 AM, Nick Kew wrote: > > On Thu, 2017-03-09 at 12:26 +, Chen, Yongcheng wrot

Re: [users@httpd] Apache load balancing based on http request body content

2017-03-09 Thread Jim Jagielski
Yeah... if really required, sticky sessions are the quickest way... As Nick sez, having to parse the payload slows things way down. > On Mar 9, 2017, at 7:48 AM, Nick Kew wrote: > > On Thu, 2017-03-09 at 12:26 +, Chen, Yongcheng wrote: >> Yes, http Post method with XML Text in http body. > >

Re: AW: [users@httpd] Apache load balancing based on http request body content

2017-03-09 Thread Nick Kew
On Thu, 2017-03-09 at 12:26 +, Chen, Yongcheng wrote: > Yes, http Post method with XML Text in http body. A load balancer wouldn't normally look at the payload. It's a much bigger overhead than most users want! If you want it, either write your own module, or check mod_security or ironbee for

AW: [users@httpd] Apache load balancing based on http request body content

2017-03-09 Thread Chen, Yongcheng
Yes, http Post method with XML Text in http body. -Ursprüngliche Nachricht- Von: Jim Jagielski [mailto:j...@jagunet.com] Gesendet: Donnerstag, 9. März 2017 13:21 An: users@httpd.apache.org Betreff: Re: [users@httpd] Apache load balancing based on http request body content In the body

Re: [users@httpd] Apache load balancing based on http request body content

2017-03-09 Thread Jim Jagielski
In the body of the request? Ala in POST data? > On Mar 9, 2017, at 6:50 AM, Chen, Yongcheng > wrote: > > Dear all, > > I am using Apach httpd for loadbalaning. Now, i want to forward all the > requests with an expected string in xml in http body to the same backend > server. For example: >

[users@httpd] Apache load balancing based on http request body content

2017-03-09 Thread Chen, Yongcheng
Dear all, I am using Apach httpd for loadbalaning. Now, i want to forward all the requests with an expected string in xml in http body to the same backend server. For example: http body with string 1 --> Backend Server 1, http body with string 2 --> Backend Server 2 Does somebody know the tr