httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe Jr." <wr...@rowe-clan.net>
Subject Re: [patch] adding request structure access to mod_header
Date Sun, 18 Jul 2010 04:30:00 GMT
On 7/17/2010 11:41 AM, Eric Prud'hommeaux wrote:
> We were dancing around trying to get RequestHeader (mod_header) to add
> the authenticated user to a proxy request. The approaches we found
> involved tricking other modules into calling ap_add_common_vars to
>   apr_table_addn(r->subprocess_env, "REMOTE_USER", r->user);
> 
> I decided to simplify by adding %{}r directives à la
>   RequestHeader set "x-webobjects-remote-user" "%{user}r"
> which interrogate the request structure directly. I re-used
> the request structure names 'cause, well, why not?
> 
> 
> Please try to reply to <eric@w3.org>. <ericw3c@gmail.com> is a
> temporary hack as ezmlm seems to subscribe the address in the
> Return-Path: instead of the From: (grr!).

My personal opinion; we missed the opportunity to imbue mod_headers with
all extended mod_log_custom providers.

I think you arex on the right track.

Mime
View raw message