Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 49917 invoked from network); 16 Oct 2009 10:10:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 16 Oct 2009 10:10:55 -0000 Received: (qmail 60313 invoked by uid 500); 16 Oct 2009 10:10:52 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 60247 invoked by uid 500); 16 Oct 2009 10:10:51 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 60237 invoked by uid 99); 16 Oct 2009 10:10:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Oct 2009 10:10:51 +0000 X-ASF-Spam-Status: No, hits=-6.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [85.158.138.67] (HELO mail175.messagelabs.com) (85.158.138.67) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 16 Oct 2009 10:10:49 +0000 X-VirusChecked: Checked X-Env-Sender: Gareth.Brown@callcreditgroup.com X-Msg-Ref: server-5.tower-175.messagelabs.com!1255687821!4936334!4 X-StarScan-Version: 6.1.3; banners=-,-,- X-Originating-IP: [195.59.101.254] Received: (qmail 13395 invoked from network); 16 Oct 2009 10:10:25 -0000 Received: from unknown (HELO mail.callcreditgroup.com) (195.59.101.254) by server-5.tower-175.messagelabs.com with SMTP; 16 Oct 2009 10:10:25 -0000 Received: from GMac.local (10.10.1.100) by CIGPLLVEX.cig.local (172.16.1.168) with Microsoft SMTP Server id 8.1.393.1; Fri, 16 Oct 2009 11:10:10 +0100 Message-ID: <4AD84681.5060500@CallCreditGroup.com> Date: Fri, 16 Oct 2009 11:10:09 +0100 From: Gareth Brown User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: "users@httpd.apache.org" Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Subject: [users@httpd] Help with apache reporting the wrong Port number Hi All, Sorry if this is a known issue, but I have searched Google/forums etc and found no clear answer. *The problem I have *My Apache is accepting http traffic on port 81, but reporting it as port 80 - via the PHP command: $port=$_SERVER['SERVER_PORT'] I am doing it through a F5 Big-IP load balancer, and I think the problem is either an apache config, or a big-ip config for how it sends the data to apache. *My Setup* The Big-IP intercepts http traffic and forwards in on to port 80 it also intercepts https traffic on port 443, decrypts it and send it on via http on port 81 My website then checks if it is on port 81, so I know traffic is secure. *What I have tried* If I put an iis (yuck) server behind the Big IP instead of apache and it reports 80 and 81 correctly If I put apache back behind the big-ip it reports both port 80 and port 81 as being port 80 If I stop apache running on port 80, and send data to port 81, it still reports as port 80 Has anyone seen this before, or is it just something I've messed up some place? Many thanks Gareth --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org