https://issues.apache.org/bugzilla/show_bug.cgi?id=45833

           Summary: Wrong SERVER_PORT passed in virtual host with wildcard
                    port
           Product: Apache httpd-2
           Version: 2.2.9
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_cgi
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


With <VirtualHost _default_:*> or <VirtualHost *:*> and Listen 8080 in the
global configuration, the CGI variable SERVER_PORT is always passed as 80,
although the URI is given as http://hostname:8080/some_cgi_script. This is
independent of the setting of UseCanonicalName. If <VirtualHost _default_:8080>
or <VirtualHost *:8080> is used, the resulting SERVER_PORT is correct.
This bug does not occur with apache-1.3.41. I did not test 2.0.x.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to