[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Obtaining URI supplied by the client from a subrequest


Torsten Foertsch <suppressed> [24-11-2006 12:41]:
> On Friday 24 November 2006 12:09, Radoslaw Zielinski wrote:
[...]
>> Is there any smarter way than this hack?
>>   my $request_uri = (split /\s/, $r->the_request)[1];
> ErrorDocuments are served by internal redirects. So $r->prev->uri should do.

Thanks, $r->prev is exactly what I was looking for.

-- 
Radosław Zieliński <suppressed>

Attachment: pgpet7SYcURVe.pgp
Description: PGP signature


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.