ShibRequestSetting and Apache Environment Variables

Andrew D. netrealm at
Thu Sep 15 02:01:45 BST 2011


I'm attempting to support two identity providers.  I would like to
provide "friendly names" for the end users, e.g., and

I'm trying to set an environment variable using mod_rewrite, but I'm
not sure if I will be able to use the variable in the Directory
directive.  Here is what I have so far:

RewriteEngine On
RewriteRule ^/secure/name1(.*) /secure$1
RewriteRule ^/secure/name2(.*) /secure$1
<Directory "/srv/http/secure">
    AuthType shibboleth
    ShibRequestSetting requireSession On
    ShibRequestSetting entityID env=ENTITY_ID
    Require valid-user
    ShibUseHeaders On

The part I'm having trouble with is figuring out the syntax for
"ShibRequestSetting entityID env=ENTITY_ID".  Is what I'm attempting
even possible?  If so, how and is it the correct solution?


More information about the users mailing list