I think I already know the answer to this, BUT just in case. Is there any way that CF can access the url that mod_rewrite is messing around with?
I’m aware of the CGI environment variables, but what the url looks like in my case and the actual path is pretty different.
Is this something that I would need to do via javascript with the window.location value?
Without knowing more as to what you’re trying to do, are these urls coming internally from the site?
If they are could you not reverse engineering the way you’re doing the URL writing in CF and use that to read URLs of the same pattern?
We use mod rewrite on our site. So the address typed in would be something like:
http://mydomain.com/news/todays-news-article/
IIS grabs that address, converts it to the following and passes that through to ColdFusion:
http://mydomain.com/index.cfm?furl=news/todays-news-article/
So that’s the address that ColdFusion is seeing. It doesn’t know about the other format because IIS has done the work of converting it before passing on the request.
If we need to do any work on the address then we reference the furl value.
HTH
Cheers,
James