You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2008/09/18 16:12:40 UTC

DO NOT REPLY [Bug 45833] New: Wrong SERVER_PORT passed in virtual host with wildcard port

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: bugs@httpd.apache.org
        ReportedBy: strube@physik3.gwdg.de


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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 45833] Wrong SERVER_PORT passed in virtual host with wildcard port

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45833


HWS <st...@physik3.gwdg.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




--- Comment #1 from HWS <st...@physik3.gwdg.de>  2008-09-29 01:54:43 PST ---
Sorry, I overlooked the new directive UseCanonicalPhysicalPort, which defaults
to "off" (thus ignoring the physical port used). If it is set to "on" in the
main server or virtual host section, the "bug" does not occur.


-- 
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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org