Re: [squid-users] Insert Header or Footer into retrieved pages?
Hello, On 24.09.08 10:26, Rodre Ghorashi-Zadeh wrote: Please wrap lines below 80 characters per line, thank you. ICAP solution seems good, however there are no open source/GPL icap servers out there, except for the the one at http://icap-server.sourceforge.net , which hasn't been maintained since 2002 and is based on Python 2.1. hmmm, haven't you tried c-icap or it is not available for you? I downloaded and installed/set it up and although I could put requests through it, it wasn't modifying the responses by injecting the .gif URL. Has anyone been able to get this working? Does anyone know where I can get the reference icap server mentioned here: http://wiki.squid-cache.org/Features/ICAP with a 404 URL of http://www.icap-forum.org/spec/icap-server10.tar.gz ? Can someone offer up a different solution to just inject a simple html header into the pages returned via the squid proxy? -- Matus UHLAR - fantomas, [EMAIL PROTECTED] ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. Silvester Stallone: Father of the RISC concept.
RE: [squid-users] Insert Header or Footer into retrieved pages?
Hello, ICAP solution seems good, however there are no open source/GPL icap servers out there, except for the the one at http://icap-server.sourceforge.net , which hasn't been maintained since 2002 and is based on Python 2.1. I downloaded and installed/set it up and although I could put requests through it, it wasn't modifying the responses by injecting the .gif URL. Has anyone been able to get this working? Does anyone know where I can get the reference icap server mentioned here: http://wiki.squid-cache.org/Features/ICAP with a 404 URL of http://www.icap-forum.org/spec/icap-server10.tar.gz ? Can someone offer up a different solution to just inject a simple html header into the pages returned via the squid proxy? ~Rodre _
RE: [squid-users] Insert Header or Footer into retrieved pages?
On Wed, 2008-09-24 at 10:26 -0700, Rodre Ghorashi-Zadeh wrote: Does anyone know where I can get the reference icap server mentioned here: http://wiki.squid-cache.org/Features/ICAP with a 404 URL of http://www.icap-forum.org/spec/icap-server10.tar.gz ? Tried the Internet Archive? If you cannot find it anywhere, please let me know and I will try to dig up a copy. I do not know whether I have one though. Can someone offer up a different solution to just inject a simple html header into the pages returned via the squid proxy? You can also wait for eCAP work to be completed. I am supposed to commit the missing bits by September 29. HTH, Alex.
Re: [squid-users] Insert Header or Footer into retrieved pages?
Alex Rousskov schrieb: On Wed, 2008-09-24 at 10:26 -0700, Rodre Ghorashi-Zadeh wrote: Does anyone know where I can get the reference icap server mentioned here: http://wiki.squid-cache.org/Features/ICAP with a 404 URL of http://www.icap-forum.org/spec/icap-server10.tar.gz ? Tried the Internet Archive? If you cannot find it anywhere, please let me know and I will try to dig up a copy. I do not know whether I have one though. Can someone offer up a different solution to just inject a simple html header into the pages returned via the squid proxy? You can also wait for eCAP work to be completed. I am supposed to commit the missing bits by September 29. HTH, Alex. Hello Rodre, http://www.icap-forum.org/documents/other/icap-server10.zip they changed the URL ... to Alex: that is great news about eCAP, we appreciate your work ! Regards from Germany, Philipp Rusch
RE: [squid-users] Insert Header or Footer into retrieved pages?
You can also wait for eCAP work to be completed. I am supposed to commit the missing bits by September 29. HTH, Alex. Hello Rodre, http://www.icap-forum.org/documents/other/icap-server10.zip they changed the URL ... Hello Thanks for the responses guys. I will experiment with this icap server as I= pass some time before the eCap code is commited to the repo. ~Rod _
Re: [squid-users] Insert Header or Footer into retrieved pages?
Alex Rousskov schrieb: On Wed, 2008-09-24 at 10:26 -0700, Rodre Ghorashi-Zadeh wrote: Does anyone know where I can get the reference icap server mentioned here: http://wiki.squid-cache.org/Features/ICAP with a 404 URL of http://www.icap-forum.org/spec/icap-server10.tar.gz ? Tried the Internet Archive? If you cannot find it anywhere, please let me know and I will try to dig up a copy. I do not know whether I have one though. Can someone offer up a different solution to just inject a simple html header into the pages returned via the squid proxy? You can also wait for eCAP work to be completed. I am supposed to commit the missing bits by September 29. HTH, Alex. Hello Rodre, http://www.icap-forum.org/documents/other/icap-server10.zip they changed the URL ... Ah, thanks. Wiki updated. to Alex: that is great news about eCAP, we appreciate your work ! Regards from Germany, Philipp Rusch
RE: [squid-users] Insert Header or Footer into retrieved pages?
Squid itself does not alter the data objects passing through. You need Squid-3 with an ICAP server to alter the web content. Hello, Thanks for your reply. Will the ICAP server modify the HTML content, or just the URL request string? If it is the HTML that is modified via the ICAP server, does squid store the modified version or the original version of the HTML? Can you recommend an ICAP server that runs on Linux? Thanks again. ~Rodre _
RE: [squid-users] Insert Header or Footer into retrieved pages?
On Mon, 2008-09-22 at 17:20 -0700, Rodre Ghorashi-Zadeh wrote: Squid itself does not alter the data objects passing through. You need Squid-3 with an ICAP server to alter the web content. Hello, Thanks for your reply. Will the ICAP server modify the HTML content, or just the URL request string? If it is the HTML that is modified via the ICAP server, does squid store the modified version or the original version of the HTML? Can you recommend an ICAP server that runs on Linux? Thanks again. You need to modify the headers and body of selected HTTP responses. It is not trivial to do this right, but it is doable, and there are deployed Squid proxies doing that. For a high-level overview, you may want to start at http://wiki.squid-cache.org/SquidFaq/ContentAdaptation I believe Squid treats adapted pages as if they come from the origin server. Thus, Squid should cache cachable adapted responses. How much additional control you get via Squid ACLs, I do not know. I would not be surprised if some ACLs are not checked for ICAP responses. The original response will not be cached if you modify it. Squid ICAP and eCAP code only support pre-cache response modification. HTH, Alex.