Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 53923 invoked from network); 13 Jan 2011 12:40:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 13 Jan 2011 12:40:31 -0000 Received: (qmail 515 invoked by uid 500); 13 Jan 2011 12:40:28 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 396 invoked by uid 500); 13 Jan 2011 12:40: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 388 invoked by uid 99); 13 Jan 2011 12:40:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Jan 2011 12:40:25 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of covener@gmail.com designates 74.125.82.173 as permitted sender) Received: from [74.125.82.173] (HELO mail-wy0-f173.google.com) (74.125.82.173) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Jan 2011 12:40:18 +0000 Received: by wyg36 with SMTP id 36so1785846wyg.18 for ; Thu, 13 Jan 2011 04:39:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=VVSAVmI+2u26GHOcGffGefHYcvGfw2ZFW6apqYVvOY0=; b=BScHHp6ofWlEfgKtO7T1lwNSFBNwgNgxpwZTFKP7jlzv1baDrpRq1Pnaq+hhvmn1OO Bx4YnMQwPXc5UN08j1L56J47EfAf/QBKDJAFzunFkeY3uwvvbCgkQADA5HrIViMyIOsA DrEsE+9rjcO/JHwRn0ghSCFZRAOtb30Z5H/zQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=rFv+eV9Y0wQbT3r5QSPEaBZlyD9cuv47lgcRbhL7oL7NpfkvR4s8Ep7bcqcs2/D/73 Sj2sqwhrjnABhDwlQFhcnKts1OjatPa4UIrMAgpy6q+nxyYY2/IjthTesikjkKAxftRa MmmSK5fdkjLR1uWZlG6EdjRIrjnmzQeCCUX8Y= MIME-Version: 1.0 Received: by 10.216.19.133 with SMTP id n5mr560636wen.83.1294922398581; Thu, 13 Jan 2011 04:39:58 -0800 (PST) Received: by 10.216.70.132 with HTTP; Thu, 13 Jan 2011 04:39:58 -0800 (PST) In-Reply-To: <201101131107.33608.apache.user@dahl-stamnes.net> References: <201101131107.33608.apache.user@dahl-stamnes.net> Date: Thu, 13 Jan 2011 07:39:58 -0500 Message-ID: From: Eric Covener To: users@httpd.apache.org, apache.user@dahl-stamnes.net Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] RedirectMatch On Thu, Jan 13, 2011 at 5:07 AM, J=F8rn wrot= e: > Hello, > > I got a problem with using RedirectMatch. > > The following RedirectMatch line works well: > RedirectMatch 301 /Foto/Album.*img_([0-9]*)\. > "http://www.dahl-stamnes.net/Foto/r_img.php?img=3D$1" > > But now I want to add another RedirectMatch: > > RedirectMatch 301 ^/Foto/show.*album\=3D(.*)$ > "http://some.other.url/album.php?album=3D$1" > > But it does not match. After restart I tried but still get the same page.= The > logfile says: > > 192.168.2.10 - - [13/Jan/2011:11:01:22 +0100] > "GET /Foto/show.php?album=3Dsome_album HTTP/1.1" 200 15850 > > Any way of debugging how the server handles RedirectMatch's? > Any suggestions what could be wrong with the new statement? I don't think you can match against the query string -- you'll need mod_rew= rite. --------------------------------------------------------------------- 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