[Catalyst] Setting $c->req->{base}

Andy Grundman andy at hybridized.org
Tue Sep 20 15:19:22 CEST 2005


Aaron Ross wrote:
> if REMOTE_ADDR is in configured network range
>     $c->request->address( $ip );

This might be too specific to go into the core, so I think I will write 
a plugin for this.

The core will do the right thing for the simple case of running both 
frontend and backend on the same box.  This additional plugin will let 
you define an array of IPs or CIDR network block for the frontend 
proxies.  Sound good?

-Andy



More information about the Catalyst mailing list