On 8/11/2011 11:39 AM, Russ Michaels wrote:
>
> there should be some additional headers that are added by Apache with the
> original requested url, they may not be in the CGI scope though, or perhaps
> you need to specifically enable them in the Apache config.

Figured out a way to do it. Maybe not ideal, but it works.

http_referrer is returning the url variable as the htaccess defines it 
as a query string:

cgi.QUERY_STRING = action=whatever...

So, if I strip out all the unneeded stuff (don't know where the "..." at 
the end is coming from, but it's in the dump):

<cfset thisURL = replace(#cgi.QUERY_STRING#,"action=","","all") >
<cfset thisURL = replace(#thisURL#,".","","all") >

...and that give me JUST the url var I started with, so I can rebuild 
from here:

url = "http://www.mysite.com/#thisURL#

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:346708
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to