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?
you are probably looking for this:
my $uri = Apache::URI->parse($r)->unparse;
if you don't need a full uri (with the scheme, port,
I may have stated my question wrong.
Lets say the user enters the URL, http://www.test.org:93/sample/?test=true, into their
browser. How do I retrieve that URL?
I know how to get parts of it such as $r->path_info() or $r->uri(). Rather than
assemble each piece is there a method that just retur
> 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 U
It's:
8<
$r->connection->remote_ip
8<
See:
http://perl.apache.org/docs/1.0/api/Apache.html#_cr_E_gt_connection
Ian Joyce wrote:
This may be day 1 stuff for most of you, but...
What's the quckest way to determine th