Hi, Can you try with the configuration below:
frontend ft_application bind :80 mode tcp use_backend bk_xml if !HTTP default_backend bk_http backend bk_xml mode tcp balance roundrobin stick match src table bk_http server s1 192.168.1.1:80 track bk_http/s1 server s2 192.168.1.2:25 track bk_http/s2 backend bk_http mode http balance roundrobin stick store-request src stick-table type ip size 200k expire 30m server s1 192.168.1.1:80 check server s2 192.168.1.2:80 check Basically, if the traffic is not HTTP, the frontend will use the xml backend, otherwise, it would use the http one. The session is maintained between both backends through a stick-table. I have not tried this conf, but I would be keen to know if it helped you :) cheers On Thu, Sep 15, 2011 at 5:24 PM, Vladimir Dronnikov <dronni...@gmail.com> wrote: > Hi! > > Wonder is that possible to serve inline flash policy? That is, to > distinguish connections which receives '<policy-file-request/>\0' (no > newline is expected) and immediately respond with some xml. The > problem is that such requests are _not HTTP_ ones, but they still must > be served from the same host and port where the page was loaded from > -- i.e. by a HTTP server. > > TIA, > --Vladimir > >