Received: (qmail 14191 invoked by uid 501); 4 Jan 2001 17:38:12 -0000 Message-Id: <20010104173812.14189.qmail@apache.org> Date: 4 Jan 2001 17:38:12 -0000 From: Tim Small Reply-To: tim_small@digitalbrain.com To: submit@bugz.apache.org Subject: ap_get_server_port returns wrong port number if virtual hosts not used X-Send-Pr-Version: 3.110 >Number: 7029 >Category: apache-api >Synopsis: ap_get_server_port returns wrong port number if virtual hosts not used >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Thu Jan 04 09:40:01 PST 2001 >Closed-Date: Thu Jan 04 10:15:08 PST 2001 >Last-Modified: Thu Jan 04 10:15:08 PST 2001 >Originator: tim_small@digitalbrain.com >Release: 1.3.14 >Organization: >Environment: Linux chunky.brain 2.2.18r3.5.29 #3 SMP Sat Dec 30 17:40:32 GMT 2000 i686 gcc version 2.95.2 19991024 (release) Redhat 6.2 + updates >Description: ap_get_server_port returns port 80, when apache is listening on port 8888 only. This problem is not seen when the Listen declaration is placed inside a virtual host declaration. >How-To-Repeat: Use stock configuration file, and change Listen directive to: Listen 8888 Don't declare any virtual hosts >Fix: >Release-Note: >Audit-Trail: State-Changed-From-To: open-closed State-Changed-By: fanf State-Changed-When: Thu Jan 4 10:15:06 PST 2001 State-Changed-Why: Please see PR#7026. Thanks for using Apache! >Unformatted: [In order for any reply to be added to the PR database, you need] [to include in the Cc line and make sure the] [subject line starts with the report component and number, with ] [or without any 'Re:' prefixes (such as "general/1098:" or ] ["Re: general/1098:"). If the subject doesn't match this ] [pattern, your message will be misfiled and ignored. The ] ["apbugs" address is not added to the Cc line of messages from ] [the database automatically because of the potential for mail ] [loops. If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request from a ] [developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]