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 <[email protected]>. <[email protected]> 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.