From dev-return-57456-apmail-httpd-dev-archive=httpd.apache.org@httpd.apache.org Mon Jun 11 09:12:46 2007 Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 45495 invoked from network); 11 Jun 2007 09:12:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Jun 2007 09:12:36 -0000 Received: (qmail 11300 invoked by uid 500); 11 Jun 2007 09:12:32 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 11242 invoked by uid 500); 11 Jun 2007 09:12:32 -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: List-Id: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 11231 invoked by uid 99); 11 Jun 2007 09:12:32 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Jun 2007 02:12:32 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of soniamuk@gmail.com designates 209.85.132.247 as permitted sender) Received: from [209.85.132.247] (HELO an-out-0708.google.com) (209.85.132.247) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Jun 2007 02:12:28 -0700 Received: by an-out-0708.google.com with SMTP id b15so378157ana for ; Mon, 11 Jun 2007 02:12:07 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=KIkFefG2Du+JjeR9yidPRE5TC/HfKPCPzEvwap8q2ry6L3G/ZfprMw2G0WkMgNMJc0BlnhokdsmQEDYY1BrlXsdtddygePrgqvUI7U8JaPRflaH/8g1rD7pMaOMkKkGitYs/cl95H7lCYTkLE9gnJV8mCx1Q73J9vGyKFIjoy8k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=X9edeV6A8Bvrylyml3vnH8DilkvS8nKVqmKTIcxttKSCXPy4gG4kj2KKAU2T57D+f1Jl9OZCKHaSldFsoPoJHUt2Xc7yPzh+BLYSO35UMBmY3rL73slNtpH2KNyZ2ZDg1m5RKmUJPwfMt6AO9w7RuElI8knCZYk4bpZ7qIuijoY= Received: by 10.100.13.12 with SMTP id 12mr3141339anm.1181553126649; Mon, 11 Jun 2007 02:12:06 -0700 (PDT) Received: by 10.100.178.9 with HTTP; Mon, 11 Jun 2007 02:12:06 -0700 (PDT) Message-ID: Date: Mon, 11 Jun 2007 14:42:06 +0530 From: "sonia mukherjee" To: dev@httpd.apache.org Subject: rewrite url with query string causing issues MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_105767_17974261.1181553126638" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_105767_17974261.1181553126638 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline hi, I have an API written in c++ which communicates with Apache to give access to resources. The problem faced is, if i configure a rewrite rule such that * http://mohsaswks36358.clearcase.com:4444/ows/printenv *is an alias of* http://mohsaswks36358.clearcase.com:4444/cgi-bin/printenv.pl?map=public.map * When we append a query string while accessing the alias i.e.* http://mohsaswks36358.clearcase.com:4444/ows/printenv?xyz=abc *then apache without my API into picture shows the query string as* "map= public.map&xyz=abc" *(expected) but when my API comes into picture it shows the query string as *"xyz=abc" **the original query** "map=public.map" **is lost.* while debugging i found out that in the webfiltercontext when value of query string is pulled from apache it only gets* xyz=abc** as query parameter**. **But if i acess** http://mohsaswks36358.clearcase.com:4444/ows/printenv **my API pulls the original query"**map=public.map**". Could you please suggest me a sample method by which I will be able to pull up the original as well the later added query.* ** Thank you in advance sonia ------=_Part_105767_17974261.1181553126638 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline

hi,

 

 I have an API written in c++ which communicates with Apache to give access to resources. The problem faced is, if i configure a rewrite rule such that

 http://mohsaswks36358.clearcase.com:4444/ows/printenv is an alias of http://mohsaswks36358.clearcase.com:4444/cgi-bin/printenv.pl?map=public.map  

 When we append a query string while accessing the alias i.e.  http://mohsaswks36358.clearcase.com:4444/ows/printenv?xyz=abc then apache without my API into picture shows the query string as "map=public.map&xyz=abc" (expected) but when my API comes into picture it shows the query string as

"xyz=abc" the original query  "map=public.map" is lost.

 

while debugging i found out that in the webfiltercontext when value of query string is pulled from apache it only gets   xyz=abc as query parameter . But if i acess http://mohsaswks36358.clearcase.com:4444/ows/printenv my API pulls the original query" map=public.map". Could you please suggest me a sample method by which I will be able to pull up the original as well the later added query .

 

Thank you in advance

 

 

sonia

------=_Part_105767_17974261.1181553126638--