Re: [squid-users] SquidNT: How to run cachemgr.cgi on IIS6 (2003 server)
On Sun, 7 Nov 2004, Kashif Ali Bukhari wrote: what is the function of cachemgr.cgi http://www.squid-cache.org/Doc/FAQ/FAQ-9.html Regards Henrik
Re: [squid-users] SquidNT: How to run cachemgr.cgi on IIS6 (2003 server)
On Sat, 6 Nov 2004, Kim C wrote: I am running SquidNT on 2003 server. It performs well, and the only problem is cachemgr.cgi. It runs normally with SquidClient, but with IIS6 I just get a message saying that cachemgr.cgi didn't produce any output. This happens both from localhost and from a remote location. It should work fine.. Is there any additional information in the IIS error logs? Are there any special configurations on IIS6 I should know about ? The cachemgr.cgi needs to be in a CGI directory, and the IIS needs to know to execute .cgi files. You can also try renamig it to cachemgr.exe Regards Henrik
Re: [squid-users] SquidNT: How to run cachemgr.cgi on IIS6 (2003 server)
what is the function of cachemgr.cgi - Original Message - From: "Kim C" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, November 07, 2004 3:01 AM Subject: [squid-users] SquidNT: How to run cachemgr.cgi on IIS6 (2003 server) Hello list I am running SquidNT on 2003 server. It performs well, and the only problem is cachemgr.cgi. It runs normally with SquidClient, but with IIS6 I just get a message saying that cachemgr.cgi didn't produce any output. This happens both from localhost and from a remote location. Google doesn't give me any hints, so I hope there will be an expert here, who will be kind to tell me how this problem should be solved. Is there a special FAQ for SquidNT ? Are there any special configurations on IIS6 I should know about ? Best regards Kim C
[squid-users] SquidNT: How to run cachemgr.cgi on IIS6 (2003 server)
Hello list I am running SquidNT on 2003 server. It performs well, and the only problem is cachemgr.cgi. It runs normally with SquidClient, but with IIS6 I just get a message saying that cachemgr.cgi didn't produce any output. This happens both from localhost and from a remote location. Google doesn't give me any hints, so I hope there will be an expert here, who will be kind to tell me how this problem should be solved. Is there a special FAQ for SquidNT ? Are there any special configurations on IIS6 I should know about ? Best regards Kim C
Re: [squid-users] Reverse proxying and application logging
On Sat, 6 Nov 2004, Erwin Wessels wrote: Interesting... If this item then later is requested again and served from cache, will the custom header show up in the logs again? yes. Regards Henrik
Re: [squid-users] Reverse proxying and application logging
Henrik Nordstrom wrote: On Sat, 6 Nov 2004, Erwin Wessels wrote: The product is a multi-source search engine - what we want to log is which source was used (to start with). The application can certainly log this, but there is no clean way to get this in the original log files (an IMO 'unclean' example is using an image in the result page with the required info in it's query string.) Maybe I am forced to go with the unclean solution and use run-time logfile parsing to feed the stuff back in a database... If you add the required information in a custom response header then you can make Squid log this with the request in access.log. Either by "log_mime_hdrs", or by using the custom log formats (will be available in Squid-3.0. Patch to 2.5) Interesting... If this item then later is requested again and served from cache, will the custom header show up in the logs again? It may be possible to use header_access to filter out the custom header before it is sent to the client but I am not sure (if you are unlucky it also filters out the header before access.log..). Worth checking out Thanks!, -Erwin
Re: [squid-users] WCCPv2 on Fedora CORE 2
On Fri, 5 Nov 2004, Wilhelm Farrugia wrote: patch -p1 < ../visolve_wccpv2-s2_5.patch ./bootstrap.sh acinclude.m4:10: warning: underquoted definition of AC_CHECK_SIZEOF_SYSTYPE run info '(automake)Extending aclocal' or see Hmm.. are you sure there was no warnings about autoconf/automake versions? Squid-2.5 is quite picky about the versions of autoconf and automake. Only autoconf 2.13 and automake 1.5 may be used. Both are available in the Fedora Core 2 distribution. Regards Henrik
Re: [squid-users] Reverse proxying and application logging
On Sat, 6 Nov 2004, Erwin Wessels wrote: The product is a multi-source search engine - what we want to log is which source was used (to start with). The application can certainly log this, but there is no clean way to get this in the original log files (an IMO 'unclean' example is using an image in the result page with the required info in it's query string.) Maybe I am forced to go with the unclean solution and use run-time logfile parsing to feed the stuff back in a database... If you add the required information in a custom response header then you can make Squid log this with the request in access.log. Either by "log_mime_hdrs", or by using the custom log formats (will be available in Squid-3.0. Patch to 2.5) It may be possible to use header_access to filter out the custom header before it is sent to the client but I am not sure (if you are unlucky it also filters out the header before access.log..). Regards Henrik
[squid-users] Problems with proxy.pac
Hello, My network has two proxy servers and i need to balance the traffic load between these two. I used the following proxy.pac file. function FindProxyForURL(url, host) { if (isPlainHostName(host) || dnsDomainIs(host, ".iiita.ac.in") || dnsDomainIs(host, ".local") || (host.substring(0,4) == "172.") || host == "iiita.ac.in" || host == "127.0.0.1") return "DIRECT"; if(myIpAddress.substring(0,6) == "172.19" || myIpAddress.substring(0,6) == "172.24") { if (url.substring(0, 5) == "http:") { return "PROXY 172.31.1.8:8080"; } else if (url.substring(0, 4) == "ftp:") { return "PROXY 172.31.1.8:8080"; } else if (url.substring(0, 7) == "gopher:") { return "PROXY 172.31.1.8:8080"; } else if (url.substring(0, 6) == "https:" || url.substring(0, 6) == "snews:";) { return "PROXY 172.31.1.8:8080"; } else { return "DIRECT"; } } if (url.substring(0, 5) == "http:") { return "PROXY 172.31.1.1:8080"; } else if (url.substring(0, 4) == "ftp:") { return "PROXY 172.31.1.1:8080"; } else if (url.substring(0, 7) == "gopher:") { return "PROXY 172.31.1.1:8080"; } else if (url.substring(0, 6) == "https:" || url.substring(0, 6) == "snews:";) { return "PROXY 172.31.1.1:8080"; } else { return "DIRECT"; } } The problem is that the above file works fine with Internet Explorer but does not work with Mozilla, Opera and other browsers. Please suggest me how to get rid of this problem and share the load of the netwok between these two proxies. NOTE: 172.19.X.X n 172.24.X.X are two VLANs on my network. Manoj Chitlangia