Re: (OT ?) issue with get_remote_host

[prev] [thread] [next] [Date index for 2005/02/13]

From: jonathan vanasco
Subject: Re: (OT ?) issue with get_remote_host
Date: 03:48 on 13 Feb 2005
Thank you.  Again.  (I  seem to say that a lot)

I was googling for portions of the  error string, and diving through  
the pages of mod_perl cooking and practical_mod_perl -- i saw nothing.

Google actually had 4 entries, at most, for most portions of the error  
string, which I found odd.

Anyways -- i'll post this to the list so others can google

Stas's insight + the migration tutorial showed me this:

under mod_perl 2

use Apache::Connection();
use Apache::Compat();
$r->get_remote_host();

or

use Apache::Connection();
$r->connection->get_remote_host();





On Feb 12, 2005, at 10:21 PM, Stas Bekman wrote:

>
> Jonathan:
>
> % lookup get_remote_host
> To use method 'get_remote_host' add:
>         use Apache::Connection ();
>
> % alias lookup
> perl -MApache2 -MModPerl::MethodLookup -e print_method
>
> http://perl.apache.org/docs/2.0/api/ModPerl/ 
> MethodLookup.html#Command_Line_Lookups

(OT ?) issue with get_remote_host
jonathan vanasco 02:00 on 13 Feb 2005

Re: (OT ?) issue with get_remote_host
Stas Bekman 03:21 on 13 Feb 2005

Re: (OT ?) issue with get_remote_host
jonathan vanasco 03:48 on 13 Feb 2005

Re: (OT ?) issue with get_remote_host
Ian D. Stewart 13:25 on 13 Feb 2005

Generated at 17:31 on 15 Feb 2005 by mariachi v0.52