Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 19408 invoked from network); 9 Apr 2005 15:55:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 9 Apr 2005 15:55:04 -0000 Received: (qmail 30512 invoked by uid 500); 9 Apr 2005 15:54:57 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 30463 invoked by uid 500); 9 Apr 2005 15:54:57 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 30447 invoked by uid 99); 9 Apr 2005 15:54:57 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from devsys.jaguNET.com (HELO devsys.jaguNET.com) (209.133.192.6) by apache.org (qpsmtpd/0.28) with ESMTP; Sat, 09 Apr 2005 08:54:55 -0700 Received: (from jim@localhost) by devsys.jaguNET.com (8.11.7a/jag-2.6) id j39FssI05187 for dev@httpd.apache.org; Sat, 9 Apr 2005 11:54:54 -0400 (EDT) From: Jim Jagielski Message-Id: <200504091554.j39FssI05187@devsys.jaguNET.com> Subject: Re: svn commit: r160675 - httpd/httpd/trunk/modules/proxy/mod_proxy_balancer.c To: dev@httpd.apache.org Date: Sat, 9 Apr 2005 11:54:51 -0400 (EDT) Reply-To: jim@jaguNET.com In-Reply-To: from "Mladen Turk" at Apr 09, 2005 05:36:28 PM X-Mailer: ELM [version 2.5 PL5] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Mladen Turk wrote: > > Jim Jagielski wrote: > >> + if (strncasecmp(url, "balancer:", 9) == 0) { > > > > Hold on a sec... I need to test this, but by the time this > > is called, haven't we rewritten the URL (via rewrite_url()) > > to remove the 'balancer::' prefix? > > > > No. The canon_handler is called during fixup hook while > rewrite_url is called from proxy_handler::pre_request hook, > thus later. > Yep... pre_request is done at Apache's handler phase, whereas canon_handler done @ fixups. -- =========================================================================== Jim Jagielski [|] jim@jaguNET.com [|] http://www.jaguNET.com/ "There 10 types of people: those who read binary and everyone else."