It took me ages to find it, and it's part of the Apache docs but not part of the CF docs.
http://httpd.apache.org/docs/2.0/custom-error.html On 10/19/06, Rob Wilkerson <[EMAIL PROTECTED]> wrote: > > Where were you about a week ago?! I ended up setting my own CGI > variable using the E flag of mod_rewrite (which I was using anyway - > hence the need for the original request URI). It works, but it took > me a while o get there because I was looking for exactly what you've > found. > > Is this documented anywhere? I couldn't find anything. I believe I > even posted the question to the list, but got no response. This > information must be buried pretty deep. > > Thanks. > > Rob Wilkerson > > > > On Oct 18, 2006, at 10:08 PM, James Holmes wrote: > > > Those who have upgraded their Apache 2 CF servers to CF7 may have > > noticed that CGI.REQUEST_URI no longer contains the original request > > URL and query string when Apache does a 404 redirect to a CF page. For > > example, we just found this the hard way. In 6.1, the var would > > contain the original URL and the query string - it now contains the > > 404's URL and no query string info. > > > > Well, there are other CGI vars available that do the trick: > > CGI.REDIRECT_URL and CGI.REDIRECT_QUERY_STRING. These contain all the > > original info on the request so you can get back to the way things > > worked before the upgrade. > > -- CFAJAX docs and other useful articles: http://www.bifrost.com.au/blog/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:257688 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4