Skip to main content
Participant
September 5, 2013
Question

CF 10 gives wrong CGI.SERVER_PORT value

  • September 5, 2013
  • 0 replies
  • 4568 views

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.

This topic has been closed for replies.