Can env vars be referenced in shibboleth2.xml?
Cantor, Scott
cantor.2 at osu.edu
Thu Oct 1 16:11:21 UTC 2020
On 10/1/20, 12:02 PM, "users on behalf of Wessel, Keith" <users-bounces at shibboleth.net on behalf of kwessel at illinois.edu> wrote:
> Circling back on this with one more question. Is it possible to use env vars in the values of content settings set with the
> ShibRequestSetting directive? It's not working, and I've tried a few different ways.
I wouldn't know, but I wouldn't be surprised if it isn't.
> It seems that use of env vars (both from the OS and internal to Apache) is directive or module specific. There's one way
> to do it with mod_rewrite directives, another way with LogFormat directives, and still another with mod_proxy
> directives. So, it seems to be something handled by each respective module. Since the mod_shib documentation doesn't
> mention anything about env vars, I'm guessing this isn't possible. But I wanted to make sure I'm not missing something.
I assumed it was generic because otherwise that's...dumb. Either Apache supports or it doesn't. I guess it doesn't.
> If this is the case, I think I'm back on modifying shibboleth2.xml on container boot with a couple of sed commands; not
> as nifty, but still fine.
sed and XML would be a very brittle combination, I would use XSLT.
-- Scott
More information about the users
mailing list