Return-Path: Delivered-To: apmail-perl-modperl-archive@www.apache.org Received: (qmail 57611 invoked from network); 5 May 2009 09:55:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 5 May 2009 09:55:33 -0000 Received: (qmail 73455 invoked by uid 500); 5 May 2009 09:55:01 -0000 Delivered-To: apmail-perl-modperl-archive@perl.apache.org Received: (qmail 73127 invoked by uid 500); 5 May 2009 09:55:00 -0000 Mailing-List: contact modperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list modperl@perl.apache.org Received: (qmail 72024 invoked by uid 99); 5 May 2009 09:48:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 May 2009 09:48:18 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of idel.fuschini@gmail.com designates 209.85.221.108 as permitted sender) Received: from [209.85.221.108] (HELO mail-qy0-f108.google.com) (209.85.221.108) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 May 2009 09:48:10 +0000 Received: by qyk6 with SMTP id 6so11869248qyk.28 for ; Tue, 05 May 2009 02:37:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=2aik28d7fzt5i0VsG6me3Ex5O4CxnOR/A9pO0pNObzU=; b=NZ5rIbZviL7fv65baQf3pihORSIcgSx9XU1jPRzqDFTZZENkGYO0I8gtDltjVSIva6 JD7ggkM7vsHCth31jcEuxQLXdlfu5w+mpkOCTE7rRHXDCOt1O4BwqsaBoFCvoEboonDA QXCnf06DOd1M6PY2qOdu8pvNug5NpGjwL4jMc= 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 :cc:content-type; b=MPyFoeLVeSg7vXoM2zydcD86yYFvUtTgQppGrtKEnlMGZ7Ucd5HwSZwWAjrG2xuiZK TwJLWeV1Xf1UuVaZ0WxXiPA+3Jfb5hjSEoH+TYQKuxmCvy6ry3QyW9Za4fO/Q1rOY2zs w41AOKu70COPo37+ygi9XL0pDwZTLyr0NoPSc= MIME-Version: 1.0 Received: by 10.220.99.17 with SMTP id s17mr11611612vcn.0.1241515668491; Tue, 05 May 2009 02:27:48 -0700 (PDT) In-Reply-To: <200905051027.49020.torsten.foertsch@gmx.net> References: <932590f80905050112u2bda8176qe3eea57180a7b741@mail.gmail.com> <200905051027.49020.torsten.foertsch@gmx.net> Date: Tue, 5 May 2009 11:27:48 +0200 Message-ID: <932590f80905050227k683d22bbwa540b5236725125c@mail.gmail.com> Subject: Re: Pass variable From: Idel Fuschini To: Torsten Foertsch Cc: modperl@perl.apache.org Content-Type: multipart/alternative; boundary=0016e64612c2674e2e046926e48f X-Virus-Checked: Checked by ClamAV on apache.org --0016e64612c2674e2e046926e48f Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit thanks torsten how can I read this variable from php and jsp application ? I did in perl code: $r->subprocess_env("XXX" => $value); In cgi I see something like: REDIRECT_XXX value Thanks Idel 2009/5/5 Torsten Foertsch > On Tue 05 May 2009, Idel Fuschini wrote: > > I am the owner of "Apache Mobile Filter" project ( > > https://sourceforge.net/projects/mobilefilter/). > > After my filter detect the UserAgent of a device I want to pass the > > capability to other applications (cgi, php or tomcat with mod_jk) in > > the same web server. > > How can I do that ? > > $r->subprocess_env > $r->headers_in > $r->notes > > depends on what the other apps understand. I think subprocess_env is > best choice. > > Torsten > > -- > Need professional mod_perl support? > Just hire me: torsten.foertsch@gmx.net > --0016e64612c2674e2e046926e48f Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable thanks torsten

how can I read this variable from php and jsp applica= tion ?
I did in perl code:

$r->subprocess_env("XXX" = =3D> $value);

In cgi I see something like:

REDIRECT_XXX va= lue

Thanks
Idel

2009/5/5 Torsten Foert= sch <torst= en.foertsch@gmx.net>
On Tue 05 May 2009, Idel Fuschini wrote:
> I am the owner of =A0"Apache Mobile Filter" project (
> https://sourceforge.net/projects/mobilefilter/).
> After my filter detect the UserAgent of a device I want to pass the > capability to other applications (cgi, php or tomcat with mod_jk) in > the same web server.
> How can I do that ?

$r->subprocess_env
$r->headers_in
$r->notes

depends on what the other apps understand. I think subprocess_env is
best choice.

Torsten

--
Need professional mod_perl support?
Just hire me: torsten.foertsch@= gmx.net



--0016e64612c2674e2e046926e48f--