<div dir="ltr">Thank you for immediate answer, Antony.<div><br></div><div>Best Regards,</div><div>Sergey</div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-04-21 23:26 GMT+03:00 Antony Stone <span dir="ltr"><<a href="mailto:Antony.Stone@squid.open.source.it" target="_blank">Antony.Stone@squid.open.source.it</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Thursday 21 April 2016 at 22:21:15, Ser de Bronce wrote:<br>
<br>
> I have a squid server that can be accessed from multiple subdomains.<br>
> For example, user A does a proxy request on "<a href="http://aaa.myproxy.com" rel="noreferrer" target="_blank">aaa.myproxy.com</a>" and user B on<br>
> "<a href="http://bbb.myproxy.com" rel="noreferrer" target="_blank">bbb.myproxy.com</a>"<br>
> Is it possible to log which subdomain was requested by the user?<br>
<br>
</span>No, because DNS resolves both hostnames to the IP address of your proxy, and<br>
the requests are then sent to that IP address.  The requests contain no<br>
information about the hostname which the client thought the proxy should have.<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
Antony.<br>
<br>
--<br>
Most people are aware that the Universe is big.<br>
<br>
 - Paul Davies, Professor of Theoretical Physics<br>
<br>
                                                   Please reply to the list;<br>
                                                         please *don't* CC me.<br>
_______________________________________________<br>
squid-users mailing list<br>
<a href="mailto:squid-users@lists.squid-cache.org">squid-users@lists.squid-cache.org</a><br>
<a href="http://lists.squid-cache.org/listinfo/squid-users" rel="noreferrer" target="_blank">http://lists.squid-cache.org/listinfo/squid-users</a><br>
</font></span></blockquote></div><br></div>