How to access http_x_rewrite_url from Cold Fusion?

Jul 31, 2008 at 5:06 PM
I've tried checking the cgi and server variable scopes after doing a rewrite rule that include the "[U]" option, but this variable could not be found. I checked my IIS logs and confirmed that the original URL was indeed being saved in the logs, so I know the option is working. Any ideas on how to access this server variable in CF?
Coordinator
Jul 31, 2008 at 8:35 PM

I don't know cold fusion.  When I access the variable from ASP.NET or JSP, it is there. In ASP.NET it looks like this:

Request.ServerVariables["HTTP_X_REWRITE_URL"]

What version of the filter are you using?   If it is any kinda recent, it should work just fine.