Re: [squid-users] Problem with Squid3 / ESI

From: howard chen <howachen@dont-contact.us>
Date: Fri, 15 Feb 2008 12:11:35 +0800

On Fri, Feb 15, 2008 at 11:41 AM, Amos Jeffries <squid3@treenet.co.nz> wrote:
> > On Fri, Feb 15, 2008 at 4:24 AM, Amos Jeffries <squid3@treenet.co.nz>
> > wrote:
> >>
> >> *Where* in squid.conf is rather important. If it's at the end then it
> >> may
> >> be useless.
> >>
> >> Amos
> >
> > Hello,
> >
> > Below is my squid.conf (comments removed), anyone can take a fast look...?
> > ========================================
> >
> >
> > acl manager proto cache_object
> > acl localnet src 127.0.0.0/8
> > acl localnet src 172.39.210.0/24
> >
> > acl Safe_ports port 81
> >
>
> ...
>
>
> > http_access deny !Safe_ports
>
> There it is...
>
> This denies all traffic to any port except 81.
> Your parent cache and most webserver are on port 80.
>
>
> ...
>
> > http_port 81 accel vhost
> > cache_peer 127.0.0.1 parent 80 0 no-query originserver
> > acl localsites dstdomain all
> > http_access allow all
>
> I assume you meant that ACL to be something like this?
> acl in_traffic myport 81
>
> Amos
>
>
>

Hello, Thanks for your reply.

I have removed the line:

>> http_access deny !Safe_ports

Now the log give me:

"GET http://www.w3.org/TR/1998/REC-xml-19980210.html HTTP/1.0" 404 -
"-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-TW; rv:1.8.1.12)
Gecko/20080201 Firefox/2.0.0.12" TCP_MISS:FIRST_UP_PARENT

Thanks again.

BR

Howard
Received on Thu Feb 14 2008 - 21:11:38 MST

This archive was generated by hypermail pre-2.1.9 : Sat Mar 01 2008 - 12:00:05 MST