Hi Christos,
Thanks for the reply.
Christos Tsantilas wrote:
Hi Selvi,
selvi wrote:
I am using the Python based ICAP Server.
Is the icap-server from the following location?
http://sourceforge.net/projects/icap-server/
I try to use it some months ago with squid3 but I had problems too.....
Yes the same one.. I had fixed that problem in the ICAP Server. But
still some exception appears and the page is not displayed. Currently i
am analysing on that.
Will c-icap server help me better in this case? Is that suitable for
production use?
>From the debug messages I am seeing that at least one response from the
ICAP server is wrong. The Encapsulated Header at the ICAP server
response has wrong syntax, must be:
Encapsulated: res-hdr=0, res-body=269
........................
2008/01/05 15:19:41.425| ICAPModXact remains final [FD 14;RrB/w icapx1]
2008/01/05 15:19:41.425| ICAP/ICAPModXact.cc(574) have 428 bytes to
parse [FD 14;RrB/w icapx1]
2008/01/05 15:19:41.425| ICAP/ICAPModXact.cc(575)
ICAP/1.0 200 OK^M
Date: Sat, 05 Jan 2008 09:49:41 GMT^M
Encapsulated: res-hdr=0 res-body=269^M
Here missing a "," ^
Server: ICAP-Server-Software/1.0^M
^M
HTTP/1.0 200 OK^M
Content-Length: 29^M
Accept-Ranges: bytes^M
Server: Apache/2.0.52 (Red Hat)^M
Last-Modified: Sat, 05 Jan 2008 07:22:49 GMT^M
Connection: close^M
ETag: "64cce7-1d-442f47e85e440"^M
Connection: close^M
ETag: "64cce7-1d-442f47e85e440"^M
Date: Sat, 05 Jan 2008 09:49:41 GMT^M
Content-Type: text/html; charset=UTF-8^M
^M
<html>
Hello Selvi
</html>
^M
2008/01/05 15:19:41.426| ICAP/ICAPModXact.cc(653) parse ICAP headers
2008/01/05 15:19:41.426| ICAP/ICAPModXact.cc(882) have 428 head bytes to
................
Thanks
Selvi