<div dir="ltr"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">you should pass the client address in a header, and then it can pick that header up via the REMOTE_ADDR setting.</blockquote><div><br>Thank you Scott, I will look at this. Meanwhile, both of you had me thinking that  httpd may also be able to change the hostname while proxying which will be the easiest solution. And I have found that indeed Apache allow that by changing  the header:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">  RequestHeader set Host "<a href="http://theportail.example.com">theportail.example.com</a>"<br>  ProxyPreserveHost On<br></blockquote><div>So now I have the both vhost pointing to the same Backend APP (liferay) but <a href="http://portail.example.com">portail.example.com</a> change only it's header to be <a href="http://theportail.example.com">theportail.example.com</a>. Also, both vhosts have the instructions for Shibboleth as if they were different websites. This will allow me to let the protection against cookie theft set to on. Of course, it will be also on if I used the Scott's solution.<br><br></div><div>Thank you very much Scott and Peter for your hard work in responding and helping all the users of Shibboleth. And as we say it in French : "Chapeau bas", </div><div>Reda SABIR <br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-10-04 18:02 GMT+02:00 Cantor, Scott <span dir="ltr"><<a href="mailto:cantor.2@osu.edu" target="_blank">cantor.2@osu.edu</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">> Of course, disabling protection from cookie theft is very bad idea and should<br>
> be avoided.An other solution would be to have a list of exceptions like<br>
> 127.0.0.1. So is there any way to do that, or is it not developed yet?<br>
<br>
</span>If you're proxying you should pass the client address in a header, and then it can pick that header up via the REMOTE_ADDR setting.<br>
<span class="HOEnZb"><font color="#888888"><br>
-- Scott<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
--<br>
To unsubscribe from this list send an email to <a href="mailto:users-unsubscribe@shibboleth.net">users-unsubscribe@shibboleth.<wbr>net</a><br>
</div></div></blockquote></div><br></div>