Shibboleth and apache rewrite
Luo, Pan
pan.luo at ubc.ca
Thu Sep 26 16:09:45 EDT 2013
I did a system update on RHEL 6 and shibboleth was also updated to 2.5.2. Then it breaks the shibboleth. I did some troubleshooting, it seems Shibboleth.sso is not being handled by shibboleth anymore. I have the following settings in .htacess at the web root:
AuthType shibboleth
ShibRequireSession Off
ShibUseHeaders On
require shibboleth
<IfModule mod_rewrite.c>
RewriteEngine On
#<IfModule mod_vhost_alias.c>
# RewriteBase /
#</IfModule>
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ app.php [QSA,L]
</IfModule>
If I comment out the rewrite, shib works fine(my app doesn't). So I think rewrite is taking over shib request. However, I though mod_shib has higher priority and this setting was working before the upgrade. Any advice? Thanks!
Cheers,
Pan
--
Pan Luo, Programmer Analyst
Centre for Teaching, Learning and Technology, UBC
Email: pan.luo at ubc.ca<mailto:pan.luo at ubc.ca>
Tel: 604.827.3904
http://www.ctlt.ubc.ca
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://shibboleth.net/pipermail/users/attachments/20130926/a013eae3/attachment.html
More information about the users
mailing list