<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
        {page:Section1;}
-->
</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="blue" vlink="purple">
<div class="Section1">
<p class="MsoNormal">I am running RHEL6.2 , OpenSSL (built from source), Apache 2.4.3 (built from source), Shib SP dependencies – RPM’s installed from yum repo, Shib SP 2.5 (built from source):<o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">./configure --with-apxs24=/usr/local/apache/bin/apxs --enable-apache-24 --with-openssl=/usr/local/openssl<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">When I attempt to access a URL that is protected with Shibboleth the , eg: https://myhost.example.org/secure/<o:p></o:p></p>
<p class="MsoNormal">which should automatically serve index.html (due to DirectoryIndex config), a 500 Internal server error is displayed in the browser, and the following error is logged to the Apache error log:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">[mod_shib:error] [pid 8866:tid 140049100285696] [client 139.222.121.134:53006] shib_base_check_authz found no per-request structure, referer:<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The page is served correctly (with no errors), if accessed as: https://myhost.example.org/secure/index.html<o:p></o:p></p>
<p class="MsoNormal">Pages are also served correctly via DefaultIndex in areas that are not protected by Shib SP.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Relevant Apache config:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">LoadModule mod_shib modules/mod_shib_24.so<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">...<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">DirectoryIndex index.htm index.html<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">...<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New""><Location /secure ><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">AuthType shibboleth<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">ShibRequestSetting requireSession 1<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">Require valid-user<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New""></Location><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Any help or advice on this would be greatly appreciated.<o:p></o:p></p>
<p class="MsoNormal">Thanks,<o:p></o:p></p>
<p class="MsoNormal">Paul<o:p></o:p></p>
</div>
</body>
</html>