At 11.49 09/02/00 +0100, Henrik Nordstrom wrote:
>Alessio Sangalli wrote:
>
>> ok, I think is '.*gif\?.*', now I will try...!
>
>And it will be slightly faster if you skip the .* parts. Regular
>expressions is always partial matches unless you use ^ and $ in the
>patterns (denotes start of line, and end of line)
OK, it's true.
But I can't get any image cached. In my access.log I see:
950094936.451 5400 192.168.1.2 TCP_MISS/200 5742 GET
http://www.centrohl.it/w3/gif? - DIRECT/www.centrohl.it image/GIF
950094940.252 21595 192.168.1.2 TCP_MISS/200 520 GET
http://www.centrohl.it/w3/gif? - DIRECT/www.centrohl.it image/GIF
I set my browser's cache to 0/0 (memory/disk) to force using of proxy...
My squid.conf is exactly:
-------------------------------------
debug_options ALL,1
acl all src 192.168.1.0/255.255.255.0
acl CENTROHL dst_domain .centrohl.it
acl GIF url .*gif\?.*
no_cache allow CENTROHL GIF
http_access allow all
icp_access allow all
-------------------------------------
Is there something wrong?
Thank you!
Alessio Sangalli
Received on Wed Feb 09 2000 - 04:27:25 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:51:02 MST