last time when I saw the logs without HOSTs on forward proxy, is caused
by setting proxy.config.url_remap.remap_required = 1, which is the
default value.
have you changed it to 0? as FAQ:
https://cwiki.apache.org/confluence/display/TS/FAQ#FAQ-forwardproxy
在 2011-01-20四的 16:44 +0700,a@test123.ru写道:
> Well, I checked explicit proxy mode - log is OK. 2.1.5 fixed that. Try to reproduce in
transparent mode.
> I use iptables as follows:
>
> -t nat -A PREROUTING -p tcp -i eth0 --dport 80 -j REDIRECT --to-ports 3129
> Where
> eth0 is internal net
> CONFIG proxy.config.http.server_port INT 3129
> CONFIG proxy.config.http.server_port_attr STRING >
>
>
> On Wed, 19 Jan 2011 21:52:11 -0700, Leif Hedstrom <zwoop@apache.org> wrote:
> > On 01/18/2011 01:42 AM, a@test123.ru wrote:
> >> I installed 2.1.5 and there is same problem with log - wrong URL.
> >> # /opt/traffic/bin/traffic_logcat /opt/traffic/var/log/trafficserver/squid.blog
> >> 1295338766.964 310 192.168.1.18 TCP_MISS/200 23958 GET http:///db/msg/1249162
-
> >> DIRECT/www.astronet.ru text/html -
> >> 1295338767.133 132 192.168.1.18 TCP_MISS/301 410 GET http:///cycounter?www.astronet.ru
-
> >> DIRECT/www.yandex.ru text/html -
> >> ...
> >
> >
> > Weird, I can't see to reproduce this, in forward proxy mode ('curl -x
> > localhost:8080 http://www.ogre.com/') I see this in my log:
> >
> > 1295498905. 109 127.0.0.1 TCP_REFRESH_HIT/200 31647 GET
> > http://www.ogre.com/ - DIRECT/www.ogre.com text/html -
> >
> > -- leif
>
|