shibboleth2.xml configuration for www and non-www requests to same host (IIS)

Chris Dell chrisdell at gmail.com
Thu May 25 11:35:26 EDT 2017


We're using IIS 7.0.

We're having a problem in which the following request is authenticated, but
after successful login, is incorrectly redirected to https://www.example.com
:


   - https://example.com/site/aspx

But these requests all work correctly (after login, all are redirected to
https://www.example.com/site/aspx as expected):


   - http://example.com/site/aspx
   - http://www.example.com/site/aspx
   - https://www.example.com/site/aspx


Do you have any suggestions?  Redirect rules configured in the redirect
module seem to happen after any shibboleth authentication, so that doesn't
seem to be a fix/problem.

Our requestmap is configured similar:
<Host name="www.example.com" applicationId="idhere" redirectToSSL="443">

<Path name="site">

<Path name="aspx" requireSession="true" authType="shibboleth">

<AccessControl>

<OR>

<RuleRegex require="our_role">RoleName</RuleRegex>

</OR>

</AccessControl>

</Path>

</Path>

</Host>

And our ISAPI:
<ISAPI normalizeRequest="true">
      <Site id="####" name="www.example.com"/>
</ISAPI>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20170525/b1bf3056/attachment.html>


More information about the users mailing list