Hot answers tagged

1

Rather than Apache's proxy_pass directive use a mod_rewrite rule. The mod_rewrite [P | proxy] target provides similar functionality as Apache's proxy_pass directive. I.e. something along the lines of: (un-tested and probably not immediately suitable for your purposes) RewriteCond %{HTTP_COOKIE} cookiename=([^;]+) [NC] RewriteRule "/foo/bar/(.*)$" "http://...


1

Is it possible that those long polling requests (or whatever is generating those requests against your server) are not closing their connections properly after their work is finished? Or more likely to open new connections instead implementing long-polling properly? As theoretically if your long polling works as it should there should be no more than 200 ...


Only top voted, non community-wiki answers of a minimum length are eligible