Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DCA55D3EF for ; Thu, 16 May 2013 07:20:17 +0000 (UTC) Received: (qmail 19711 invoked by uid 500); 16 May 2013 07:20:14 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 19362 invoked by uid 500); 16 May 2013 07:20:14 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 19350 invoked by uid 99); 16 May 2013 07:20:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 May 2013 07:20:13 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: error (athena.apache.org: encountered temporary error during SPF processing of domain of ognjen.d.blagojevic@gmail.com) Received: from [147.91.1.120] (HELO afrodita.rcub.bg.ac.rs) (147.91.1.120) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 May 2013 07:20:08 +0000 Received: from [IPv6:2001:4170:0:4::66] (unknown [IPv6:2001:4170:0:4::66]) by afrodita.rcub.bg.ac.rs (Postfix) with ESMTP id A9CF9215000B for ; Thu, 16 May 2013 09:19:24 +0200 (CEST) Message-ID: <5194887C.6020000@gmail.com> Date: Thu, 16 May 2013 09:19:24 +0200 From: Ognjen Blagojevic User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 MIME-Version: 1.0 To: Tomcat Users List Subject: Re: redirect request from 8080 to port 80 References: <5032F5DAD1369F48BD8A3348125CBB9812829A0E@xmb-aln-x13.cisco.com> <519383C9.9080904@gmail.com> <51938AC7.7010606@ice-sa.com> <51938C9D.8070506@apache.org> <51938FBE.2030100@ice-sa.com> <5193A012.7010900@christopherschultz.net> In-Reply-To: <5193A012.7010900@christopherschultz.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-RCUB-MailScanner-Information: Please contact the ISP for more information X-RCUB-MailScanner-ID: A9CF9215000B.AC58E X-RCUB-MailScanner: Found to be clean X-RCUB-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-2.6, required 6, autolearn=not spam, BAYES_00 -2.60, NO_RELAYS -0.00) X-Virus-Checked: Checked by ClamAV on apache.org Chris, On 15.5.2013 16:47, Christopher Schultz wrote: > I see that only the URI is being send in the first-line of the > request, and not the protocol-qualified URL. Ognjen asserted that most > user agents send the whole URL but I have not observed this -- neither > today nor in the past. I think most browsers will probably just send > the part of the URL after the protocol://host:port on the first line. No, I did actually wrote: Me: > According to RFC2616 (Section 5.1.2), client may send absolute URI or absolute path. Majority of clients will send absolute path when talking to the server. Therefore, I agree with your findings. When there is no proxy involved, most clients will send HTTP request with the *absolute path* in the first line (e.g. "/examples/index.html"), and not absolute URI. I believe my first reply was maybe not precise: Me: > Iptables will not change the URL. What I meant to say here is: iptables will not change anything in the originating HTTP request, including elements which were extracted from the URL (absolute path and host header). -Ognjen --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org