> It's: > --------------------8<-------------------- > $r->connection->remote_ip > --------------------8<--------------------
That'd be the ip of the client making the request. > Ian Joyce wrote: > > This may be day 1 stuff for most of you, but... > > > > What's the quckest way to determine the URL that made the current > request in mod_perl 1? > > I'd have said $r->uri, which gives the current uri. If you want the referrer (the question is a little ambiguous), then: $r->header_in( 'Referer' ); HTH, dave -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html