Re: [Semi-OT] mod_rewrite and $r->parsed_uri

[prev] [thread] [next] [Date index for 2005/04/08]

From: Thomas Klausner
Subject: Re: [Semi-OT] mod_rewrite and $r->parsed_uri
Date: 19:42 on 08 Apr 2005
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$_.$/}

[Semi-OT] mod_rewrite and $r->parsed_uri
Thomas Klausner 10:30 on 08 Apr 2005

Re: [Semi-OT] mod_rewrite and $r->parsed_uri
Geoffrey Young 13:25 on 08 Apr 2005

Re: [Semi-OT] mod_rewrite and $r->parsed_uri
Thomas Klausner 19:42 on 08 Apr 2005

Re: [Semi-OT] mod_rewrite and $r->parsed_uri
Geoffrey Young 19:53 on 08 Apr 2005

Generated at 14:43 on 11 Apr 2005 by mariachi v0.52