Re: [cas-user] mod_auth_cas environment variables not accessible

2021-10-30 Thread David Hawes
The CAS attributes are stored as request headers and won't be available in the apache environment. You'd have to store them as apache environment variables to be able to get at them with RequestHeader (I think). Something like this should work for you: diff --git a/src/mod_auth_cas.c b/src/mod_au

Re: [cas-user] mod_auth_cas environment variables not accessible

2021-10-30 Thread Jim Toth
I believe headers are changed into environment variables much later: you’ll need to use a different syntax to get at thems. I’d guess “{CAS_SURNAME}i” from my memory of how one uses headers in log formats, but check the mod_rewrite docs at httpd.apache.org. Also, I’d recommend being consistent wi