Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 81C70200B43 for ; Tue, 19 Jul 2016 11:57:10 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 8039F160A89; Tue, 19 Jul 2016 09:57:10 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id C94FB160A76 for ; Tue, 19 Jul 2016 11:57:09 +0200 (CEST) Received: (qmail 10425 invoked by uid 500); 19 Jul 2016 09:57:08 -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 10415 invoked by uid 99); 19 Jul 2016 09:57:08 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Jul 2016 09:57:08 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 19BBFCF8D9 for ; Tue, 19 Jul 2016 09:57:08 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.179 X-Spam-Level: * X-Spam-Status: No, score=1.179 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id ER-DBT-cgVQX for ; Tue, 19 Jul 2016 09:57:07 +0000 (UTC) Received: from mail-oi0-f52.google.com (mail-oi0-f52.google.com [209.85.218.52]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with ESMTPS id A12F35FE0D for ; Tue, 19 Jul 2016 09:57:06 +0000 (UTC) Received: by mail-oi0-f52.google.com with SMTP id w18so18128601oiw.3 for ; Tue, 19 Jul 2016 02:57:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=Nx85ZJXA+vrLbrbn+2EuOyqM99c5n5+c2x5QL76Bhfo=; b=cFeLeweZuteoh0WF8ABNGFmigEBFJqainsbuObvvCpqpUTR8vz7uyT2j//T3hOwwvb HUywEDwjXrHzMMfGFDs9Vk+Ubuy3cciAVMUrJ96DfBC1NYUaoNCmzzjdlNnM5I2MQC1K 54Vhi/hNkC/mAXBmWoFnlHg/EGpLRp/g/xCf9dL4YiR1DeKSkbmRqaipn9fvf9sIqjNk qsg2Vuc4oSqFmKh0cQUrCzIcdB3QxQDE224U6IHhIzI0uxmIjtxTcXiaa8G2aL5FMSKW pxyu8ALhYnxGqJGkZwct7xuF6/37NfrdUa8MAbJgSVm3T/NeGlc0cqg/lCUFbAwkRIMw hibw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=Nx85ZJXA+vrLbrbn+2EuOyqM99c5n5+c2x5QL76Bhfo=; b=AWw+QuRYxan4l3lLd0QuYJ8xpjUW4K9i7tnqGHu44HYeyyIPbkB+kjWXAdC/KU2j6I K1Te2cyCmzeCrpzSPGa0QSKGPDF8Ddyn2Z931XCDCvKRm15fRf+VCCskRD15G4oj5rMc lmEUxg655jCo80IjPDaRVQ8AY7RuqDEWKqyRN4ptYWqeuvjqER0quY76Z7KG95laioh9 h9uKihZJ0jas6Ktbln57VcGN5QMWRSb5fVQcF+6C1GXMnegAA0SIfcYF7k9aYnX6Esbj +vSQqL3IO00/dH93VyeLo+IToFSlafoKdDHmRf6a6ofFDN5S1QqObWMRlqCz2eFKM4zZ MZ8A== X-Gm-Message-State: ALyK8tIqoPxBgDGQ7h2fuBYlHaKE9Cqx+0bIUKhNBW9zDfqzvv8VYzeMWsmmdSaLx0sBvV5X1kwcAMaQkquhUw== X-Received: by 10.202.205.65 with SMTP id d62mr18454812oig.114.1468922225372; Tue, 19 Jul 2016 02:57:05 -0700 (PDT) MIME-Version: 1.0 Received: by 10.157.22.248 with HTTP; Tue, 19 Jul 2016 02:57:05 -0700 (PDT) In-Reply-To: <1468908891.3890.24.camel@mimir.webthing.com> References: <1468908891.3890.24.camel@mimir.webthing.com> From: Amlaan Kar Date: Tue, 19 Jul 2016 15:27:05 +0530 Message-ID: To: users@httpd.apache.org Content-Type: multipart/alternative; boundary=001a1134e2967233860537fa1b69 Subject: Re: [users@httpd] Run PHP Handler after running my handler Apache archived-at: Tue, 19 Jul 2016 09:57:10 -0000 --001a1134e2967233860537fa1b69 Content-Type: text/plain; charset=UTF-8 , and mod_rewrite do not work here as I am reading the query string parameter from a xml file and thus cannot declare it in the configuration file. However, it would be really helpful if you would help me understand how a module's processing can be hooked up earlier in the cycle as this seems to be the only way to make it work. On Tue, Jul 19, 2016 at 11:44 AM, Nick Kew wrote: > On Tue, 2016-07-19 at 10:45 +0530, Amlaan Kar wrote: > > I have created a handler in Apache > > Sounds like your module's processing should be hooked up > earlier in the cycle. It can then set the handler either > to PHP or to its own page according to the outcome of > whatever parsing it does. > > But given that the server parses the URL, you can probably > dispense with that altogether, and use configuration to > deal with whatever your parser does. If > or is not sufficient, then an clause. > Or even the archaic tool of yesteryear, mod_rewrite. > > -- > Nick Kew > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > For additional commands, e-mail: users-help@httpd.apache.org > > --001a1134e2967233860537fa1b69 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
<Location>, <If> and mod_rewrite do not w= ork here as I am reading the query string parameter from a xml file and thu= s cannot declare it in the configuration file.

However, it wou= ld be really helpful if you would help me understand how a module's pro= cessing can be hooked up
earlier in the cycle as this seems to be the only way to make it work.

On Tue, Jul 19, = 2016 at 11:44 AM, Nick Kew <niq@apache.org> wrote:
On Tue, 2016-07-19 at 10:45 +0530, A= mlaan Kar wrote:
> I have created a handler in Apache

Sounds like your module's processing should be hooked up
earlier in the cycle.=C2=A0 It can then set the handler either
to PHP or to its own page according to the outcome of
whatever parsing it does.

But given that the server parses the URL, you can probably
dispense with that altogether, and use configuration to
deal with whatever your parser does.=C2=A0 If <Location>
or <LocationMatch> is not sufficient, then an <If> clause.
Or even the archaic tool of yesteryear, mod_rewrite.

--
Nick Kew


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


--001a1134e2967233860537fa1b69--