Re: [Semi-OT] mod_rewrite and $r->parsed_uri
[prev]
[thread]
[next]
[Date index for 2005/04/08]
Hi!
On Fri, Apr 08, 2005 at 09:25:30AM -0400, Geoffrey Young wrote:
> > Is it possible to somehow get to the URI as it looks like after beeing
> > transformed by mod_rewrite?
>
> don't you just want $r->uri?
Yes. Thanks.
> I don't think anyone is supposed to (or traditionally does) mess with
> $r->parsed_uri. it's usually $r->uri and $r->filename.
Well, in the mod_perl Cookbook you (or one of your co-authors) mess with
$r->parsed_uri (eg Recipe 5.3 'Altering the Request URI' page 160ff)
I used it for years and it worked very well. But (at least in this case)
$r->uri works better (because it works!)
> if that doesn't work we can try another thought pattern :)
It did work, so there's no excuse for getting a new video card :-)
--
#!/usr/bin/perl http://domm.zsi.at
for(ref bless{},just'another'perl'hacker){s-:+-$"-g&&print$_.$/}