Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 32214 invoked from network); 12 Aug 2005 15:57:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 12 Aug 2005 15:57:36 -0000 Received: (qmail 74777 invoked by uid 500); 12 Aug 2005 15:57:26 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 74762 invoked by uid 500); 12 Aug 2005 15:57:26 -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 74749 invoked by uid 99); 12 Aug 2005 15:57:26 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Aug 2005 08:57:26 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of jslive@gmail.com designates 64.233.184.205 as permitted sender) Received: from [64.233.184.205] (HELO wproxy.gmail.com) (64.233.184.205) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Aug 2005 08:57:48 -0700 Received: by wproxy.gmail.com with SMTP id 37so635329wra for ; Fri, 12 Aug 2005 08:57:25 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=IEzCQC0G0XEKVhkiFM5aVO7exAFewpime0s0PLBz1/R4Tz9gpo7WfYRYYkbCYOU8VSwgLYW0pXjmzxQf7YNjGXQ5kAq0hqaw6qkhZxz9kFe/BhGMydLhWvjpyHKYsnSFZ5kOeINIXAKlYhABAEV/NKXzlZiLl1wY8OWRahkQ4iQ= Received: by 10.54.49.72 with SMTP id w72mr1977572wrw; Fri, 12 Aug 2005 08:57:25 -0700 (PDT) Received: by 10.54.61.7 with HTTP; Fri, 12 Aug 2005 08:57:25 -0700 (PDT) Message-ID: Date: Fri, 12 Aug 2005 11:57:25 -0400 From: Joshua Slive To: users@httpd.apache.org In-Reply-To: <7796799a0508120853610c3115@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <7796799a050812080029bc3acd@mail.gmail.com> <7796799a0508120853610c3115@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] RewriteMap substitutions in RewriteRule X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 8/12/05, Tony VanScoy wrote: > It kind of works. I made the change to %1 and when I made a request ... >=20 > /test.php?pdfId=3D12 >=20 > .. then it gave me the pdf. SWEET. But, still dies after the first > mapping. If I call that same exact URL again, i get redirected to ... >=20 > /pdf/ >=20 > .. with no filename. Odd. I added these directives.... >=20 > RewriteLog "/var/log/httpd/rewrite_log" > RewriteLock "/var/lock/httpd/rewrite.lock" > RewriteLogLevel 2 The RewriteLogLevel is not high enough. Use 9. You probably want to put these in the , but I can't remember for sure. But, as I mentioned, the problem is most likely bad logic in your program. You can test it by running it on the command line and feeding it one input at a time, followed by a carriage return. It should respond with one output at a time. Joshua. --------------------------------------------------------------------- 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