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

CF 10 gives wrong CGI.SERVER_PORT value

New Here ,
Sep 05, 2013 Sep 05, 2013

Here is how to reproduce the issue.

Platform: Redhat Linux 6

Step 1: Install Apache HTTPD 2.2.24 in /web/httpd, use the normal port 80

Step 2: Install CF 10 in /web/coldfusion10 and connect it with Apache installation in step 1

Step 3: Install another Apache HTTPD 2.2.24 in /web/httpd_82 and using port 82

Step 4: Run "cf_root/runtime/bin/wsconfig ws apache -dir /web/httpd_82/conf -v" to connect Apache installation in step 3 with CF 10

Step 5: Create "test.cfm" file in /web/httpd_82/htdocs, and add this statement to the file "<cfoutput> #CGI.SERVER_PORT# </cfoutput>

With a browser, go to this url http://mywebserver:82/test.cfm.   The expected output is "82", but the it shows "80. 

CF 8 does not have this issue.

I've installed hotfix update 11, but the issue still persists.

Thanks for any help.

4.5K
Translate
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
no replies

Have something to add?

Join the conversation
Resources