Dear all, I recall when use squidclient "url" and our url is not valid, now i tested with telnet google, and save html file too google.html and changed a bit its header for cacheable: -------------- curl -H "HTTP/1.1 200 OK" -H "Date: Tue, 09 Aug 2011 12:12:54 GMT" -H "Expires: Thu, 08 Sep 2011 12:12:54 GMT" -H "Cache-Control: public, max-age=29000" -H "Location: http://www.google.com/" -H "Content-Type: text/html; charset=ISO-8859-1" -H "Server: gws" -H "X-XSS-Protection: 1; mode=block" -H "X-Cache: MISS from debian" -H "Transfer-Encoding: chunked" -d @./files/Google.com/Google.html localhost:3128 --------------- But i receive the bad url err.i don't know how to put url.url does initialize with "Location" header ? if yes squid doesn't get error. again i'm reading rfc, but i think it associate to acceptance of squid. How i hand off file with curl to squid? Yours, Mohsen
Attachment:
signature.asc
Description: This is a digitally signed message part