Random Host selection

Hi List,

Anybody knows a way to pick a random host from a hosts pool for a
rewrite
rule ?

Thanks you in advance.

On Mon, Apr 19, 2010 at 2:06 PM, jorge niedbalski
[email protected]wrote:

Software Developer & Unix system administrator

Maybe this can be implemented as a set $variable_name random(100) , or
set
$variable_name random_range(10,1000) . I am not sure if this should be
implemented on the ngx_http_rewrite_set function, or exists any other
way
to hook the set cmd ?

Thanks you.

On Mon, Apr 19, 2010 at 3:25 PM, jorge niedbalski
[email protected]wrote:

to hook the set cmd ?

Thanks you.


Jorge Niedbalski R.

Software Developer & Unix system administrator

Only as a reference
http://nginx.org/pipermail/nginx/2008-August/006841.html , that module
solves my problem.

Thanks you.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs