|
From: Geetha M. <ge...@in...> - 2002-07-01 04:23:06
|
please mail the complete squid.conf (atleast the http_access lines). Looks like there is some problem with the acl's you configured. I understand/assume that you are able to browse the web when your client runs on a different machine but there is an error only if your client runs on the local machine. regards, Geetha ma...@so... wrote: > > Thanks, Geetha pal! > > I have resolved the trouble simply by replace > "210.73.46.75" by "demo.gscas.ac.cn". Thanks > again for your kind and intelligence! > > But I meet with another trouble, when browing the web > page through icap_client on 210.73.46.75, I got an error > that I have no access. But other machine works fine. > How to resolve the trouble? > > Cheers, > George Erik > > ----- Original Message ----- > From: Geetha Manjunath > To: ma...@so... > Cc: ica...@li... > Subject: Re: [icap-server] Questions aboue the installation of icap. > Sent: Sat Jun 29 20:46:19 CST 2002 > > > Please try the following and let me know what happens... > > 1. Check whether your icap server is working ok. You do that as follows: > > telnet 210.73.46.75 1344 > > - Does it connect? > > 1(a) If yes. cut and paste the lines from icap_server/tests/icap_req2 > > for telnet. (You can also do a netcat if that is installed.) > > - you should get a response from the icap server > > 1(b) If no, change the icap_service lines in squid.conf by replacing > > 210.73.46.75 with demo.gscas.ac.cn . Restart squid and try. > > > > 2. Run squid on command line as "squid -X -N" and look for any parse > > errors in conf file. > > - Ensure that the icap_service lines are all on a single line > > SAME LINE: icap_service resService respmod_precache 0 > > icap://210.73.46.75:1344/respmod > > > > 3. Set "icap_enable off" in the squid.conf file and try using squid > > without icap. You should be able to browse things on the web with your > > Konqueror browser. > > > > Let us hope we do not need any more checks.. :-) > > > > Happy Weekend! > > > > Thanks and regards > > Geetha > > > > > > > > > > ma...@so... wrote: > > > > > > Hi, pals! > > > > > > When user visiting web pages through icap-client(proxy > > > server), they got errors, "broken pipe". I want to make it > > > clear that whether I have installed icap-server and icap-client > > > correctly. > > > > > > I am using Reh Hat 7.2, Kernel 2.4.7-10, > > > squid-icap-client-1.2-src.tgz, > > > icap_server-1.2.tar.gz. > > > > > > 0.install Python and PyXML > > > > > > 1. Install icap-client: > > > > > > ./configure --enable-icap-support --prefix=/usr/local/squid > > > make > > > make install > > > > > > modify squid.conf > > > ----------- > > > icap_enable on > > > icap_mode both > > > icap_service reqService reqmod_precache 0 icap://210.73.46.75:1344/reqmod > > > icap_service resService respmod_precache 0 icap://210.73.46.75:1344/respmod > > > icap_class MyClass reqService resService > > > icap_access MyClass allow all > > > icap_access reqService allow all > > > icap_access resService allow all > > > ----------- > > > > > > modify squid.conf > > > ----------- > > > cache_mem > > > cache_dir > > > acl > > > http_access > > > ----------- > > > ./squid -z > > > > > > 2. install icap-server > > > modify the setup file > > > ----------- > > > export ICAP_PATH=`pwd` > > > export PYTHONPATH=$ICAP_PATH/medusa-20010416:$ICAP_PATH/proxylet:/usr/lib/python2.2/site-packages > > > ----------- > > > then run . ./setup > > > > > > 3.start icap > > > ./squid -NCd1 > > > ./start_icap.py > > > > > > Have I missed anything? Or I did something wrong? > > > > > > Cheers, > > > George Erik > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > No, I will not fix your computer. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > icap-server-general mailing list > > > ica...@li... > > > https://lists.sourceforge.net/lists/listinfo/icap-server-general |