Amos Jeffries a écrit :
> [snip]
>>
>>
>> Exemple :
>> 2009/11/23 08:36:28| Failed to select source for
>> 'http://img43.imageshack.us/img43/416/greysanatomypromotional.jpg'
>> 2009/11/23 08:36:28| always_direct = 0
>> 2009/11/23 08:36:28| never_direct = 0
>> 2009/11/23 08:36:28| timedout = 0
>> [snip]
>> 2009/11/23 11:02:26| Failed to select source for
>> 'http://pagead2.googlesyndication.com/pagead/show_ads.js'
>> 2009/11/23 11:02:26| always_direct = 0
>> 2009/11/23 11:02:26| never_direct = 0
>> 2009/11/23 11:02:26| timedout = 0
>>
>> I'm not imageshack or google. :)
>>
>
> Normal website attacks.
>
> One of the benefits of using Squid is to prevent these resource
> wasters getting near the backend processors. "Failed to select
> source" is good news.
This is quite strange, I think I'm misunderstanding something.
I'm using squid as a reverse proxy.
Clients (internet people surfing on my website) should connect to squid
boxes to retrieve static content. Squid send the right file or connect
to cache_peer to retrieve file before the resend process.
How can someone could tell to squid to retrieve something on a server
not defined to a cache_peer ?
>
> You might also want to occasionally scan the access.log to see if any
> foreign requests do get through (2xx or 3xx status). If any do you
> have a problem, otherwise everything is fine.
Something like this ?
2009/11/23 07:26:07| clientParseRequestMethod: Unsupported method in
request 'HTTP/1.0 200 OK
Last-Modified: Tue, 06 Jan 2009 14:02:42 GMT
Accept-Ranges: bytes
Content-Length: 166
Content-Type: image/gif
Date: Mon, 23 Nov 2009 01:03:56 GMT
Server: Apache
ETag: "1247de8-a6-45fd0dc60a480"
Expires: Tue, 24 Nov 2009 01:03:56 GMT
Cache-Control: max-age=86400
Age: 19331
X-Cache: HIT from static.myhost.com
X-Cache-Lookup: HIT from static.myhost.com:80
Connection: keep-alive
GIF89a^P'
?
Thank you. :)
David
Received on Mon Nov 23 2009 - 15:29:24 MST
This archive was generated by hypermail 2.2.0 : Tue Nov 24 2009 - 12:00:04 MST