[squid-users] Is it possible to log request's proxy hostname in the access log?
Ser de Bronce
serdebronce at gmail.com
Thu Apr 21 20:30:15 UTC 2016
Thank you for immediate answer, Antony.
Best Regards,
Sergey
2016-04-21 23:26 GMT+03:00 Antony Stone <Antony.Stone at squid.open.source.it>:
> On Thursday 21 April 2016 at 22:21:15, Ser de Bronce wrote:
>
> > I have a squid server that can be accessed from multiple subdomains.
> > For example, user A does a proxy request on "aaa.myproxy.com" and user
> B on
> > "bbb.myproxy.com"
> > Is it possible to log which subdomain was requested by the user?
>
> No, because DNS resolves both hostnames to the IP address of your proxy,
> and
> the requests are then sent to that IP address. The requests contain no
> information about the hostname which the client thought the proxy should
> have.
>
>
> Antony.
>
> --
> Most people are aware that the Universe is big.
>
> - Paul Davies, Professor of Theoretical Physics
>
> Please reply to the
> list;
> please *don't* CC
> me.
> _______________________________________________
> squid-users mailing list
> squid-users at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20160421/b58c06d4/attachment.html>
More information about the squid-users
mailing list