fre 2007-03-09 klockan 00:57 +0530 skrev Siddhesh PaiRaikar: > >>httpAppendBody is probably a better place.. > > > we are using squid 2.6 stable 6 and i cudnt find that fucntion in the source > code.. is it a part of the later releases?
Hmm.. yes, http.c was a bit restructured in 2.6.STABLE10. > what would be the easiest way to start the redirection to our server's > custom page > which says "page blocked" as in what function is responsible for starting > the redirection to another page and the data structures also responsible for > holding the current URL so that we can replace it with the new blocking URL > of our server. Easiest: Implement your filter using ICAP, and in your ICAP server agent buffer the response until you find it's OK. If not OK replace the response with your blocking page.. Doing this within Squid is a bit hairy.. Regards Henrik
signature.asc
Description: Detta är en digitalt signerad meddelandedel
