开发者

cakephp redirection of traffic [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasona开发者_开发技巧bly answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 10 years ago.

how to make traffic to send 80% to groups.neighborrow.com and 20% to u.neighborrow.com.. this is developed in cakephp


may be this is useful :

generate a random number from 1 to 100 if the number is less than or equal 80 then redirect to groups.neighborrow.com , otherwise redirect to the other site.

i guess this will achieve the 80-20 probability


With a load balancer, for example by using the mod_proxy_balancer module of Apache.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜