Attributes not showing up in header
Peter Schober
peter.schober at univie.ac.at
Thu Feb 5 17:12:08 EST 2015
* Mert metin <mertmetin at outlook.com> [2015-02-05 22:45]:
> That's weird but when I print $_SERVER, there's no attribute but I
> see attributes in /Session. What might be the reason?
Scott just told you. Unless you have active or passive protection set
for something that also covers the path to that PHP script (i.e., at
least an AuthType and a Require directive) there won't be any
attributes. Cf.
https://wiki.shibboleth.net/confluence/display/SHIB2/NativeSPProtectContent
If this is for Apache httpd, try this for a start, right below the
VirtualHost level (if you have VirtualHost directives):
<Location />
AuthType shibboleth
require shibboleth
</Location>
If your script is available at /foo/bar, you can also only set that
for that URI. Or for the PHP file on disk, with a Directory or Files
directive.
-peter
More information about the users
mailing list