Post by pandonny
兄弟,mod_limitipconn模块内有对apache Proxy client tracking的patch,可以正确识别来自同一个网关不同clients的请求。。。
Proxy client tracking from README of mod_limitipconn
By default, all clients behind a proxy are treated as coming from the
proxy server's IP address. If you patch Apache with the included
apachesrc.diff patch and configure with --enable-forward and rebuild,
the real IP addresses of clients behind proxies can be correctly
detected in most situations. See the INSTALL file for specific
instructions.
你这种情况的话,应该主要是针对用户身份进行限制,不用去管线程上处理,线程限制都交给mod_limitpconn模块的请求就是了。。
明白了,我还真不知道apache Proxy client tracking的patch,哈,我试试看.谢谢pandonny老大.哈.
等ok了,就回来结帖. |