Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 23770 invoked from network); 8 Dec 2008 10:30:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Dec 2008 10:30:24 -0000 Received: (qmail 26518 invoked by uid 500); 8 Dec 2008 10:30:25 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 26502 invoked by uid 500); 8 Dec 2008 10:30:25 -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 26491 invoked by uid 99); 8 Dec 2008 10:30:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Dec 2008 02:30:25 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [212.85.38.174] (HELO popeye.combios.es) (212.85.38.174) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Dec 2008 10:28:51 +0000 Received: from [192.168.250.50] (p549EA8F0.dip0.t-ipconnect.de [84.158.168.240]) (authenticated bits=0) by popeye.combios.es (8.13.8/8.13.8/Debian-3) with ESMTP id mB8AQ7XE006479 for ; Mon, 8 Dec 2008 11:26:07 +0100 Message-ID: <493CF647.9080009@ice-sa.com> Date: Mon, 08 Dec 2008 11:26:15 +0100 From: =?ISO-8859-1?Q?Andr=E9_Warnier?= User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: users@httpd.apache.org References: <20880100.post@talk.nabble.com> <493BC4B1.8020603@ice-sa.com> <20884799.post@talk.nabble.com> <20892178.post@talk.nabble.com> In-Reply-To: <20892178.post@talk.nabble.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on popeye.combios.es X-Virus-Scanned: ClamAV 0.92.1/8731/Mon Dec 8 05:31:15 2008 on popeye.combios.es X-Virus-Status: Clean X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-97.9 required=2.5 tests=RCVD_IN_PBL, RCVD_IN_SORBS_DUL,USER_IN_WHITELIST autolearn=no version=3.2.3 Subject: Re: [users@httpd] Re: Re[users@httpd] direct Issues (Migrating from 1.3 to 2.0) Chris Graham wrote: > One other suggestion was to do this: > > RedirectMatch Permanent /(.*) http://hudson.warpspeed.com.au/hudson/$1 > > However, that ends up with the infinite loop as well. :-( > Yes. What probably happens is : - a request comes in for / (or /x..) - it gets caught by the redirect rule, and a 302 (moved) response is sent back to the browser, indicating a new address of http://hudson.warpspeed.com.au/hudson/ (or ../hudson/x..) - the browser immediately and transparently sends back a request for /hudson/ - this request is caught by the same redirect rule, results in a new 302 (moved) response, with an address this time of http://hudson.warpspeed.com.au/hudson/hudson/ - and so on for ever It would not matter if the server to which your redirect sends the request was not the same as this one. But since here it is the same, you loop infinitely. So either you find a way to tell your RedirectMatch that this applies to everything *except* URLs that already have "/hudson" in them, or else you use mod_rewrite in the way I indicated before. --------------------------------------------------------------------- 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