Using Apache mod_shib22 with IfModule
Russell Sim
russell.sim at gmail.com
Fri Jun 22 07:35:55 BST 2012
Hi,
Thanks for the great work on mod_shib, I did try to enter this as a bug
in the tracker but I couldn't find a way to create a ticket without
logging in.
Anyway, I recently needed to add an IfModule section to an Apache config
that would switch on location protection if the mod_shib22 module is
present. I did some digging in the Apache documentation and your code
and the only way to I could get it to work is:
<IfModule mod_apache.cpp> # if mod_shib22
<Location />
SetHandler None
AuthType shibboleth
ShibRequireSession On
ShibUseHeaders On
require valid-user
</Location>
</IfModule>
Seems that according to the Apache doc "If a module consists of several
source files, use the name of the file containing the string
STANDARD20_MODULE_STUFF.". In the case of the mod_shib that is
mod_apache.cpp so the config ends up being a bit odd and kinda
miss-leading.
Cheers,
Russell
More information about the dev
mailing list