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 Accessing environment variables set by other modules
Date Mon, 01 Oct 2012 10:03:12 GMT

Hello list,

I'm trying to access the environment variable "REMOTE_USER" which is
set by the mod_auth_kerb module (at least I think so).

I tried it with two different code snippets, both are not working.

1. const char *remote = apr_table_get(r->subprocess_env, "REMOTE_USER");

2. char *remote = get_env("REMOTE_USER");

I also changed the hook that I have my code registered in, so that it
runs later than the mod_auth_kerb.
But still "REMOTE_USER" appears to be always empty.

What am I doing wrong? Someone point me in the right direction?

Thank you for your time.

Greetings


-- 
Christoph Gröver, grover@sitepark.com

Mime
View raw message