>Matt...where did I say I was executing a non-cfm file? When you said this:
> For instance...when I try to access an image in a directory (the path from > the root is /cup/images/image.png), I call <img src="/cup/images/image.png" > />, Say you have this in your eric.cfm file: <cfset msg = "Hi Eric"> <cfoutput>#msg#</cfoutput> <img src="/cup/images/image.png" /> CF does not know that you want it to do something special with "/cup/images/image.png", because that's just text. So what CF will send back to the web server is just this: Hi Eric <img src="/cup/images/image.png" /> And the web server will send that to the client browser. And the client browser will render the mark-up, and it will also go looking for an image @ /cup/images/image.png. It will reuse the same domain name that the rest of the file came from, if you don't specify it, so it'll go fetch http://yourdomain.com/cup/images/image.png or something. The request for the image is a completely separate request from the original request to eric.cfm. CF has finished its job as far as any of this goes. The web server receives the request, resolves /cup/images/image.png relative to its base directory (eg: /var/htdocs), or if it has a virtual directory set up for eg /cup pointing to another dir, then it will fetch the file from there instead. And send it back to the browser. The browser then renders the image. As I mentioned above, CF plays no part in this request. So it doesn't matter what your CF mappings say. The only way that CF can possibly know about /cup/images/image.png (so as to maybe remap /cup to be /er/cup) is if you have configured your WEB SERVER to pass png requests to CF as well. According to John's research, then CF will resolve a mapping. I dunno whether it'll process ones in Application.cfc, but the Application.cfc would need to be somewhere on the /er/cup/images path for it to be picked up. If indeed it was picked up at all. But the fact remains that the original CF request will do nothing to the URL in the image tag, and the web server won't either. -- Adam ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357181 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

