Yes, but IIS's rewrite are third party modules, and are either expensive or not very powerfull or both, while Apache is and always will be free.
Russ > -----Original Message----- > From: Teddy Payne [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 27, 2006 10:35 AM > To: CF-Talk > Subject: Re: RewriteRule and REQUEST_URI > > mod_rewrite is an Apache mod, correct? It would good to point out that > IIS > also has an ISAPI that does rewriting as well. > > Teddy > > On 9/27/06, Rob Wilkerson <[EMAIL PROTECTED]> wrote: > > > > For anyone who's interested, I think I just found a solution. Instead > > of relying on ColdFusion to put what I needed in the environment, I > > realized that mod_rewrite had provided the ability for me to handle it > > myself: > > > > RewriteRule ^/(.*) /my/landingpage.cfm > > [E=MY_REQUEST_URI:%{REQUEST_URI},QSA,PT] > > > > Now I can access #CGI.MY_REQUEST_URI# to retrieve the original URI > > without worrying about what ColdFusion provides. More testing will be > > done, but it looks pretty solid as far as I can tell. > > > > Thanks again. > > > > -- > > > > Rob Wilkerson > > > > > > On 9/27/06, Rob Wilkerson <[EMAIL PROTECTED]> wrote: > > > 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:254379 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4