Quantcast
Channel: Adobe Community: Message List - ColdFusion
Viewing all articles
Browse latest Browse all 21760

CF 10 gives wrong CGI.SERVER_PORT value

$
0
0

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.


Viewing all articles
Browse latest Browse all 21760

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>