httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christoph Gröver <gro...@sitepark.com>
Subject Re: Accessing environment variables set by other modules
Date Tue, 02 Oct 2012 09:52:45 GMT

Hello Jeff,

> Sometimes envvars are set directly into subprocess_env (e.g., handling
> of SetEnv/SetEnvIf).  IOW, subprocess_env is the primary
> representation.
> 
> But the REMOTE_USER and HTTP request header variables are a
> representation of information stored elsewhere (r->user,
> r->headers_in), and that envvar representation is created just before
> running an external process.
> 
> A module should always look at the primary representation, in this
> case r->user.

Thank you for these statements. Will just use r->user now.

Thankful greetings.

-- 
Sitepark Gesellschaft für Informationsmanagement mbH
Rothenburg 14-16, 48143 Münster

Telefon: +49 251 482655-0, Telefax: +49 251 482655-55
http://www.sitepark.com
http://www.facebook.com/sitepark

Geschäftsführer: Thorsten Liebold
Amtsgericht Münster, HRB 5017

Mime
View raw message