Desperation is taking hold so I'm putting this out there again.  I've
done more research, but haven't found anything that really provides a
solid answer - even if that answer is a definitive "it can't be done."

I can't believe no one's ever run into this problem before.

Thanks again.

-- 

Rob Wilkerson


On 9/26/06, Rob Wilkerson <[EMAIL PROTECTED]> wrote:
> Yeah, I can do thqt, but if the original URI contains, for example,
> an ampersand (e.g. /path/to/My Resume & Cover Letter.doc) then
> nothing works.  I was hoping to pass it behind the curtain (which you
> can do with PHP) and read it from there.
>
> On Sep 26, 2006, at 5:23 PM, Russ wrote:
>
> > Hmm... not sure if you'll be able to get the original url into
> > request_uri,
> > but you should be able to append it as a parameter
> >
> > RewriteRule ^/(.*) /my/landingpage.cfm?url=$1 [PT]
> >
> >
> > Something like that should work.
> >
> > Russ
> >
> >
> >> -----Original Message-----
> >> From: Rob Wilkerson [mailto:[EMAIL PROTECTED]
> >> Sent: Tuesday, September 26, 2006 3:45 PM
> >> To: CF-Talk
> >> Subject: RewriteRule and REQUEST_URI
> >>
> >> Has anyone had any luck using mod_rewrite and then accessing the
> >> originally requested URI via CGI.REQUEST_URI.  I can see that the
> >> value is not documented (and won't dump), but it does evaluate.
> >> Unfortunately for me it appears to evaluate to the redirected URI
> >> rather than the original.
> >>
> >> Anyone had this problem and or gotten around it?
> >>
> >> My RewriteRule looks like this:
> >>
> >> RewriteRule ^/(.*) /my/landingpage.cfm [PT]
> >>
> >> When I display #GCI.REQUEST_URI#, though, I get "/my/
> >> landingpage.cfm".
> >>
> >> --
> >>
> >> Rob Wilkerson
> >>
> >>
> >
> > 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:254353
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to