2009/4/15 Michele Waldman <mmwald...@nyc.rr.com>:
> ./server/util_script.c
>        apr_table_addn(e, "REMOTE_USER", r->user);
>                apr_table_addn(e, "REDIRECT_REMOTE_USER", back->user);
>
> I could this.  Is this the right place?

That's for ENVs, but not the place where a module reads and sets the
user to r->user.

r->user is set this way in mod_auth_digest:

r->user         = (char *) resp->username;

resp->username is a result of parsing the HTTP request headers:
        if (!strcasecmp(key, "username"))
            resp->username = apr_pstrdup(r->pool, value);

Bob

Reply via email to