Oh, well that answers the question (even though you already said it) that you're using IIS. The GetPageContext object will only return the original request on Jrun or other J2EE server. Try looking at the value of CGI.QUERY_STRING. What IIS does when it writes a custom response header is take the original request and append it to the page you're redirecting to. Here's an example.
You set the 404 handler to /go.cfm You request http://www.domain.com/go/2345 IIS redirects to /go.cfm?404;http://www.domain.com/go/2345 Your CGI.QUERY_STRING will have a value of ?404;http://www.domain.com/go/2345 You can now do some simple RegEx or GetToken magic to grab the '2345' (e.g. siteNumber = REFindNoCase("([:digit:]{4})$", cgi.query_string);) Give those ideas a shot. -----Original Message----- From: Olivier [mailto:[EMAIL PROTECTED] Sent: Saturday, April 09, 2005 4:48 PM To: CF-Talk Subject: simple URLs like www.domain.com/go/2345 Ok, I got it to work. ".cfm" was not associated in the ISAPI for this site ! :) Now here is the go.cfm file ========================================== <h1>go:</h1> <cfoutput> <hr> #CGI.HTTP_REQUEST# <hr> #GetPageContext().getRequest().getRequestURL().toString()# <hr> #CGI.HTTP_REFERER# <hr> #Now()# </cfoutput> ========================================== But here are the result I get when going to http://go.mydomain.com/1234 ========================================== go: ---- ---- http://go.mydomain.com/go.cfm ---- ---- {ts '2005-04-09 13:44:02'} ========================================== Neither the GetPageContext or HTTP_REQUEST are getting a value.. Help !! :) Thanks. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202133 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

