I'm trying to automate page re-directions/mappings in my custom 404 page. What I want to do is include code in the 404 page that detects the original page requested by the browser (which obviously won't exist) and then automatically send the user to a new page as a substitute.
With apache server, I was able to detect the original page requested via the REDIRECT_URL variable. Now that the site is (share) hosted on an IIS server, that variable is no longer available to me. In CF (or IIS) is there some way to detect what page was requested by the user agent? I've tried cgi.path_info, cgi.script_name, cgi.request_uri but all of those simply tell me that the page requested is the 404 page itself. What I need to know is what non-existent page was requested before the user reached the 404 page. Make sense? Thanks. Regards, Bob Haroche O n P o i n t S o l u t i o n s www.OnPointSolutions.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm

