<html 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=Windows-1252">
<meta name="Generator" content="Microsoft Word 15 (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;}
@font-face
{font-family:Menlo;
panose-1:2 11 6 9 3 8 4 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:12.0pt;
font-family:"Calibri",sans-serif;
mso-ligatures:standardcontextual;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
p.p1, li.p1, div.p1
{mso-style-name:p1;
margin:0in;
font-size:8.5pt;
font-family:Menlo;
color:black;}
p.p2, li.p2, div.p2
{mso-style-name:p2;
margin:0in;
font-size:8.5pt;
font-family:Menlo;
color:black;}
span.s1
{mso-style-name:s1;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:12.0pt;
font-family:"Calibri",sans-serif;
mso-ligatures:standardcontextual;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="p1"><span class="s1"><span style="font-size:12.0pt;font-family:"Arial",sans-serif">Greetings,<o:p></o:p></span></span></p>
<p class="p1"><span class="s1"><span style="font-size:12.0pt;font-family:"Arial",sans-serif"><o:p> </o:p></span></span></p>
<p class="p1"><span class="s1"><span style="font-size:12.0pt;font-family:"Arial",sans-serif">This could be more of an apache question than a Shibboleth question, but perhaps someone could help us out?<o:p></o:p></span></span></p>
<p class="p1"><span class="s1"><span style="font-size:12.0pt;font-family:"Arial",sans-serif"><o:p> </o:p></span></span></p>
<p class="p1"><span class="s1"><span style="font-size:12.0pt;font-family:"Arial",sans-serif">We are trying to maintain an HttpSession in our app, in addition to the app being protected within a Shibboleth session. Any guidance about how to get the (I think)
standard JSESSIONID cookie to persist and facilitate the HttpSession?<o:p></o:p></span></span></p>
<p class="p1"><span class="s1"><span style="font-size:12.0pt;font-family:"Arial",sans-serif"><o:p> </o:p></span></span></p>
<p class="p1"><span class="s1"><span style="font-size:12.0pt;font-family:"Arial",sans-serif">In our apache config, we have a proxy for our app’s url, which goes to a tomcat that is co-located with apache. We also have a LocationMatch which protects our url’s
with mod_shib. But even without the mod_shib protection in apache’s config, we are not able to persist an HttpSession. (And even without a LocationMatch, for that matter.) So, e.g., when we run our “sa” locally, without apache, we get a persistent HttpSession.
But with the below in our apache config, if we ‘front’ apache on our app, we no longer get the session.<o:p></o:p></span></span></p>
<p class="p1"><span class="s1"><span style="font-family:"Calibri",sans-serif"><o:p> </o:p></span></span></p>
<p class="p1"><span class="s1">ProxyPass "/sap/" "http://our-host:8080/sa/"</span><o:p></o:p></p>
<p class="p1"><span class="s1">ProxyPass "/sapm/" "http://our-host:8080/sa/"</span><o:p></o:p></p>
<p class="p2"><o:p> </o:p></p>
<p class="p1"><span class="s1"><LocationMatch "/sapm"></span><o:p></o:p></p>
<p class="p1"><span class="s1"></LocationMatch></span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span class="s1"><span style="font-family:"Arial",sans-serif">Any guidance would be welcome!<o:p></o:p></span></span></p>
<p class="MsoNormal"><span class="s1"><span style="font-family:"Arial",sans-serif"><o:p> </o:p></span></span></p>
<p class="MsoNormal"><span class="s1"><span style="font-family:"Arial",sans-serif">Thanks, - Carl</span></span><span style="font-size:11.0pt"><o:p></o:p></span></p>
</div>
</body>
</html>