<span style>Hello,</span><div style>I have an Shibboleth SP installation that generates different endpoint urls depending on where it is accessed from: one if accessed from internet, another when accessed from intranet.</div>
<div style>In both cases SP is accessed using the same url in the browser address line. handlerURL is set in relative form (<font face="'courier new', monospace">handlerURL="/Shibboleth.sso"</font>).</div>
<div style>If I set handlerURL in absolute form (<font face="'courier new', monospace">handlerURL="https:/<a href="http://my.domain.com/Shibboleth.sso" target="_blank" style="color:rgb(17,85,204)">my.domain.com/Shibboleth.sso</a>"</font>) it works in an expected way.</div>
<div style><br></div><div style>What is the logic behind hostname discovery? Wiki says it is guessed from the VirtualHost, but I would like to know details, because I only have one VirtualHost set up in apache and it is obviously same for both intranet and internet.</div>
<div style><br></div><div style>Thanks,</div><div style>Oleksiy</div>