On Thu, Apr 23, 2015 at 12:45 AM, Alex Mestiashvili
<[email protected]> wrote:
> Alternatively one can use mod_rpaf [0] for apache to set the necessary
> headers.
> This code works for me together with mod_rpaf:
>
> my $ip  = request->forwarded_for_address || request->remote_address;

I thought with mod_rpaf, you could just use request->remote_address.
And that mod_rpaf is needed on the proxied server, not the proxy
server, which is not apache in this case.
_______________________________________________
dancer-users mailing list
[email protected]
http://lists.preshweb.co.uk/mailman/listinfo/dancer-users

Reply via email to