Posts for month: December 2008

Useful header in ISAPI_Rewrite: HTTP_X_REWRITE_URL

I've been using ISAPI_Rewrite 3 for some time now to rewrite URLs on my IIS server, and generally to create SEO-friendly URLs.

One thing I only discovered today (and am blogging here mainly for my own future reference) is that for every request, the rewrite engine creates a server variable, HTTP_X_REWRITE_URL, which contains the original requested URL. It was useful for me today, as I was writing a missing page handler, but I can think of many other occasions I've had to create complicated workarounds to work out what the requested URL was.

Read more »

No comments Posted on 2 December, 2008, in ColdFusion, ISAPI_Rewrite