• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

How do I tell default page vs page

Advocate ,
Jun 16, 2015 Jun 16, 2015

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.

Views

226

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Jun 17, 2015 Jun 17, 2015

Copy link to clipboard

Copied

LATEST

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation