Copy link to clipboard
Copied
I'm trying to create a check to distinguish between someone requesting the default page vs. explicitly requesting the default page. I'm running CF11 under IIS. My site has a default document of index.cfm. I need to determine if the user requested http://my.domain.com/ vs. http://my.domain.com/index.cfm
I cannot find any difference in the CGI scope between the two calls and I've also looked at the contents of getHttpRequestData() to no avail.
Copy link to clipboard
Copied
I think as far as CF will be concerned it will always be index.cfm. When you hit IIS it checks the default document, then calls index.cfm which CF processes. Which ever url is used, index.cfm is always called.