From users-return-117187-archive-asf-public=cust-asf.ponee.io@httpd.apache.org Thu Mar 22 18:04:00 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 6CD57180676 for ; Thu, 22 Mar 2018 18:03:59 +0100 (CET) Received: (qmail 34303 invoked by uid 500); 22 Mar 2018 17:03:57 -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 34293 invoked by uid 99); 22 Mar 2018 17:03:57 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Mar 2018 17:03:57 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 5041DC00D6 for ; Thu, 22 Mar 2018 17:03:57 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.999 X-Spam-Level: * X-Spam-Status: No, score=1.999 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id p-SkyyU_XoKN for ; Thu, 22 Mar 2018 17:03:52 +0000 (UTC) Received: from mail-oi0-f44.google.com (mail-oi0-f44.google.com [209.85.218.44]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id BF4625F2EE for ; Thu, 22 Mar 2018 17:03:51 +0000 (UTC) Received: by mail-oi0-f44.google.com with SMTP id 1-v6so2238223oix.7 for ; Thu, 22 Mar 2018 10:03:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to; bh=memQjTJ2Yw8OPIyVaNZfQ9W/1kHiHDt7Iu88pjFwzrw=; b=WCRF5avxeX6QgJXbiBA1Enu1itoCKyHqPzPewneV2Tnzj/DS0Q1T79oGOXcQCUCdY6 L10daUvkvU7RQXXCwBgVRii21vSReW/nWw3OLbYYEZ2NcJWhfNtV5ZB1qbKbO6Xei1Ny Xq/055y4bOVUqbidlsabwTvoJS2cYjdhBaGAFVj7SwShvPmwALhJL+rX3Jqc/nJLgmar ece1PtYgwG3A1nCNsNZhzQgOuY/51W+kMoX6uG5wfICx5Rlgwug6XJCJIhPTcNxsSY1R VJ1acx/SGgorzZBcpxC124RakukaZXs5GmC2uOvfbgemw7348CrFJ923eGAYoWu/ydIY 8kvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to; bh=memQjTJ2Yw8OPIyVaNZfQ9W/1kHiHDt7Iu88pjFwzrw=; b=GC5vl0NLDgiYprQiG3lc4Hu9U0KKHxkROY7EEAMQhvH7IMvGhzQbGGJFFv0u5pjPzU hhJUFz6oZQePNaldxZvdR4uFJazfEzof9oPFjJRyn0h4D9qixDSNKRIwH25UhKQd7BCK 5ptpYRBpRBVpHWFn4qV/bWViOOvCl/46Ym+AKW8w2j839luXZYPC0aOm18qVy8crAYbT 8BOnZeUfg45LINn2csrh3TF/+/F5E/xnxh3WC+LF7s09YGi0iS+VVuL6jFeA1zfpvtjV eObFFneVfIZ4Ngbug+IfKdYtGzyCXxEA9FbCYmpEJ9Nk4/HRdjYdZjP20Xm6qCNfZM1g /pMA== X-Gm-Message-State: AElRT7GzMx1Tqvk6RJgJZpzOAAQuhdbzooNBZ1hrjEe9V9pGWZJyxhZO ADPY0xEa5P9oKVFkdLtL9w4HuTOgJBO/KzXOuVa7 X-Google-Smtp-Source: AG47ELupph8T7ru/gFWBPJnLptJlyq37ebJHmJEzCkKv6q+hBoJMlZ5C/n5XX5iLjrfQJt7psE7s3h6MQQEuEKr+xHI= X-Received: by 10.202.228.10 with SMTP id b10mr2214091oih.138.1521738230280; Thu, 22 Mar 2018 10:03:50 -0700 (PDT) MIME-Version: 1.0 Sender: knobisoft@gmail.com Received: by 2002:a9d:28f3:0:0:0:0:0 with HTTP; Thu, 22 Mar 2018 10:03:49 -0700 (PDT) In-Reply-To: References: From: Martin Knoblauch Date: Thu, 22 Mar 2018 18:03:49 +0100 X-Google-Sender-Auth: u-ST42osS7A1szGP96_S8g4z_9Q Message-ID: To: users@httpd.apache.org Content-Type: multipart/alternative; boundary="001a11409334a83a120568034af9" Subject: Re: [users@httpd] How to print request headers before and after processing --001a11409334a83a120568034af9 Content-Type: text/plain; charset="UTF-8" Hi Eric, thanks, but does not work. login_jsid=Cookie prints "Cookie" login_jsid=%{Cookie} prints "%{Cookie}" Apparently the right sides of the assignment are just taken as literals without evaluating them as variables. Had a brief look at mod_log_debug, but do not see how it helps me in this case. Thanks Martin On Thu, Mar 22, 2018 at 5:50 PM, Eric Covener wrote: > On Thu, Mar 22, 2018 at 12:50 PM, Eric Covener wrote: > > have you looked at mod_log_debug? > > > >> SetEnvIfExpr "%{REQUEST_URI} == '/cb2/facelets/logon.xhtml' && > %{REQUEST_METHOD} == 'GET'" login_get login_jsid=%{HTTP_COOKIE}e > > > > is the last token of the above line wrong? Shouldn't it just be > "Coookie"? > > w/o the extra o. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > For additional commands, e-mail: users-help@httpd.apache.org > > -- ------------------------------------------------------ Martin Knoblauch email: k n o b i AT knobisoft DOT de www: http://www.knobisoft.de --001a11409334a83a120568034af9 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Eric,

=C2=A0thanks, bu= t does not work.

login_jsid=3DCookie=C2=A0 prints "Cookie= "
login_jsid=3D%{Cookie} prints "%{Cookie}"

=
Apparently the right sides of the assignment are just taken as l= iterals without evaluating them as variables.

Had a brief= look at mod_log_debug, but do not see how it helps me in this case.
Thanks
Martin

On Thu, Mar 22, 2018 at 5:50 PM, Eric= Covener <covener@gmail.com> wrote:
On Thu, Mar 22, 2018 at 12:50 PM, Eric Covener = <covener@gmail.com> wrote: > have you looked at mod_log_debug?
>
>>=C2=A0 =C2=A0 =C2=A0SetEnvIfExpr "%{REQUEST_URI} =3D=3D '/= cb2/facelets/logon.xhtml' && %{REQUEST_METHOD} =3D=3D 'GET&= #39;" login_get login_jsid=3D%{HTTP_COOKIE}e
>
> is the last token=C2=A0 of the above line wrong? Shouldn't it just= be "Coookie"?

w/o the extra o.

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




--
--= ----------------------------------------------------
Martin Knoblauchemail: k n o b i AT knobisoft DOT de
www: http://www.knobisoft.de
--001a11409334a83a120568034af9--