[squid-users] adding a parameter to a URL

2008-06-11 Thread Shaine
satisfied ? url_rewrite_program url_rewrite_children url_rewrite_concurrency url_rewrite_host_header on|off url_rewrite_access allow|deny acl ... how it should like , url rewrite program ? can somebody leave me a simple example ? Many Thanks Shaine. -- View this message in context: http

[squid-users] adding Header values

2008-06-11 Thread Shaine
Hi For each request that passes squid , I wanted to add another HTTP HEADER value as a HEADER. How can i do that ? please tell me what are the configurations has to be done in squid in and , do i have to write any external program ? Thank you Shaine -- View this message in context: http

[squid-users] Filtered IP in a URL

2008-06-18 Thread Shaine
help me Thank you Shaine -- View this message in context: http://www.nabble.com/Filtered-IP-in-a-URL-tp17997284p17997284.html Sent from the Squid - Users mailing list archive at Nabble.com.

[squid-users] bypass proxy for local addresses

2008-06-27 Thread Shaine
, anyway i do not have exact idea , can some body help me please ? Many Thanks Shaine. -- View this message in context: http://www.nabble.com/bypass-proxy-for-local-addresses-tp18152517p18152517.html Sent from the Squid - Users mailing list archive at Nabble.com.

Re: [squid-users] bypass proxy for local addresses

2008-06-27 Thread Shaine
rfw wrote: > > On Friday 27 June 2008, Matus UHLAR - fantomas wrote: >> On 27.06.08 03:48, Shaine wrote: >> > Basically we can do the bypass proxy for local addresses via web >> > browsers. This is inbuilt functions of certain web browsers. >> > Like that, can we

Re: [squid-users] adding a parameter to a URL

2008-07-04 Thread Shaine
{ print; } } Can somebody help me to solve my issue ? please help me. actually why it is happening like that . Many thanks Shaine. Sylvain Viart-2 wrote: > > Hi Shaine, > > Shaine a écrit : >> I have a big problem with adding a parameter to a URL which passes via >>

Re: [squid-users] adding a parameter to a URL / Problem in the url_redirect program

2008-07-06 Thread Shaine
print; } } ==== Thank you Shaine. Marcus Kool wrote: > > Shaine, > > Because you use the 302: prefix the URL that you pass back from the > redirector > to Squid is sent back to the browser and because of the 302 the browser &

Re: [squid-users] adding a parameter to a URL / Problem in the url_redirect program

2008-07-07 Thread Shaine
posted. Thank you Shaine. Henrik Nordstrom-5 wrote: > > On sön, 2008-07-06 at 22:05 -0700, Shaine wrote: > >> Following is my script. >> >> #!/usr/bin/perl >> # no buffered output, auto flush >> use strict; >> use warnings; >> >> my ($tem

Re: [squid-users] adding a parameter to a URL / Problem in the url_redirect program

2008-07-07 Thread Shaine
ff. i meant our logic will not work any more. Regards Shaine Henrik Nordstrom-5 wrote: > > On mån, 2008-07-07 at 10:03 +, Shain Lee wrote: >> Thank you Henrik. yes that script is very simple and now and its >> working. But i have another requirement to capture Client IP

Re: [squid-users] adding a parameter to a URL / Problem in the url_redirect program

2008-07-08 Thread Shaine
print "\n"; } } $sth->finish(); undef $sth; $dbh->commit(); $dbh->disconnect(); Why , its getting FALAL error when placed in squid? what is wrong with the script ? Can you help me please ? Many Thanks Shaine. Henrik Nordstrom-5 wrote: > > On mån, 2008-

Re: [squid-users] adding a parameter to a URL / Problem in the url_redirect program

2008-07-09 Thread Shaine
Thank you Shaine. Henrik Nordstrom-5 wrote: > > On tis, 2008-07-08 at 23:12 -0700, Shaine wrote: > >> Its working fine in command line, i tested and it works as i expected. >> But >> when i placed in url_rewrite_program in squid, unfortunately squid get >> PANIC

Re: [squid-users] adding a parameter to a URL / Problem in the url_redirect program

2008-07-09 Thread Shaine
in a defferent location. /home/user/db.sqlite. I have given the root permision for the database. is this wrong? Thank you Shaine. Shaine wrote: > > > > Following are rest of logs which comes in the log. > > 2008/07/09 22:49:27| Starting Squid Cache version 3.0.STABLE6

Re: [squid-users] adding a parameter to a URL / Problem in the url_redirect program

2008-07-09 Thread Shaine
Is there any thing difference of general perl development and develop url_redirect program from perl for squid ? do we have to use different API ? Shaine. Shaine wrote: > > one thing i couldn't mention in the mail. my redirect program located in > /usr/local/squid/bin/xxx.

Re: [squid-users] adding a parameter to a URL / Problem in the url_redirect program

2008-07-09 Thread Shaine
in a defferent location. /home/user/db.sqlite. I have given the root permision for the database. is this wrong? Thank you Shaine. Shaine wrote: > > one thing i couldn't mention in the mail. my redirect program located in > /usr/local/squid/bin/xxx.pl. > > And i have given

Re: [squid-users] adding a parameter to a URL / Problem in the url_redirect program

2008-07-10 Thread Shaine
file to be called by url_redirector ACL , if it is possible , i dont have to touch for squid configuration. Many thanks, Shaine Henrik Nordstrom-5 wrote: > > On ons, 2008-07-09 at 10:04 -0300, Marcus Kool wrote: >> Shaine, >> >> When a program runs fine from the com

[squid-users] After some time url_redirect program hangs.

2008-07-10 Thread Shaine
ren 5 , Isn't this satisfied with IM requests ? since always they are occupying with a thread , it would be going above the limits of threads, I guess. So how can i find a solution for this matter ? Many Thanks Shaine -- View this message in context: http://www.nabble.com/After

Re: [squid-users] adding a parameter to a URL / Problem in the url_redirect program

2008-07-10 Thread Shaine
But i am confuse in this option. Can you please direct me with an example ? Shaine Amos Jeffries-2 wrote: > > Shaine wrote: >> Hi Henrik, >> >> First of all i would like to thank you again for all valuable >> informations >> provided to me. Thos

Re: [squid-users] adding a parameter to a URL / Problem in the url_redirect program

2008-07-11 Thread Shaine
Hi ACL for url_director done. Now that also functioning properly. But I want to ask some thing. for instance , www.google.com , I have not defined in url_redirector ACL. when we access google , cant we forward it directly to the web without going to url_redirect program ? Thank you Shaine

Re: [squid-users] After some time url_redirect program hangs.

2008-07-11 Thread Shaine
ought , that problem occurred because of url_rewrite_children. Thank you Shaine. Amos Jeffries-2 wrote: > > Shaine wrote: >> Hi >> >> Load of IM requests goes through squid proxy and most functionalities of >> IM >> handle by url_redirector program.Redire

[squid-users] Url Re-director Fails

2008-07-15 Thread Shaine
sleep mode or something ? # Is this a problem with mysql sessions ? No clue actually? # please give me some ideas Many Thanks Shaine. -- View this message in context: http://www.nabble.com/Url-Re-director-Fails-tp18480094p18480094.html Sent from the Squid - Users mailing list archive at Nabble.com.

Re: [squid-users] Url Re-director Fails

2008-07-20 Thread Shaine
Dear Friends, Even in in-front of high load also that url-redirector function getting hanged. for few hours like 8-10 hours it working fine and after that only it happened again. please help . what should i do Many thanks Shaine. Shaine wrote: > > Hi, > > I am using ur

Re: [squid-users] Url Re-director Fails

2008-07-20 Thread Shaine
situation. Many thanks Shaine. Henrik Nordstrom-5 wrote: > > > tis 2008-07-15 klockan 21:38 -0700 skrev Shaine: > >> 2008/07/16 14:09:09| clientRedirectDone: 'http://abc.xyz.com' result=NULL >> 2008/07/16 14:09:09| WARNING: redirector #1 (FD 6) exited >>

Re: [squid-users] Url Re-director Fails

2008-07-22 Thread Shaine
/faq/squid-proxy-server-running-out-filedescriptors/ It says , define max_filedesc value in squid.conf, but in squid.conf there is no such directive. where to put this entry ? i am using squid 3.0. Thank you Shiane Henrik Nordstrom-5 wrote: > > > sön 2008-07-20 klockan 22:58 -0700 sk

[squid-users] segmentation fault

2008-07-22 Thread Shaine
Segmentation fault Thank you Shaine. -- View this message in context: http://www.nabble.com/segmentation-fault-tp18586334p18586334.html Sent from the Squid - Users mailing list archive at Nabble.com.

[squid-users] "Redirector Result"

2008-07-22 Thread Shaine
n my setup Thank you Shaine. -- View this message in context: http://www.nabble.com/%22Redirector-Result%22-tp18587207p18587207.html Sent from the Squid - Users mailing list archive at Nabble.com.

Re: [squid-users] Url Re-director Fails

2008-07-23 Thread Shaine
Hi This is been identified as a common issue in several web sites and have suggested to use following command to configure with custom file descriptor size. ./configure --enable-max_filedesc=4096 --prefix=/usr/local/squid will this work ? Thank you Shaine Shaine wrote: > &

[squid-users] comm_old_accept: FD 78: (22) Invalid argument

2008-08-04 Thread Shaine
hi I am getting error message in squid cache.log as follows. what would be the reason ? how can i find solution for it ? need ur expertise idea , please help httpAccept: FD 78: accept failure: (22) Invalid argument comm_old_accept: FD 78: (22) Invalid argument Thank you Shaine -- View this

Re: [squid-users] comm_old_accept: FD 78: (22) Invalid argument

2008-08-04 Thread Shaine
Hi Amos squid-3.0.STABLE8 and i didn't apply any patches for squid. anyway i deleted all the logs and restarted .Seems now its back to normal. But if i get same error in the future what shall i do ? does it happens because of a bug ? Thank you Chandana Amos Jeffries-2 wrote: >

Re: [squid-users] comm_old_accept: FD 78: (22) Invalid argument

2008-08-04 Thread Shaine
Hi Amos I have squid-3.0.STABLE8 and i didn't apply any patches for squid.Just for a solution i deleted all the logs and restarted . Now seems its back to normal. But if i get same error in the future what shall i do ? does it happens because of a bug ? Thank you Shaine Amos Jeffries-2

[squid-users] AW[squid-users] STATS in squid-cache

2008-08-04 Thread Shaine
configure squid-cache with awstats? or else , can somebody recommend me to configure perfect log analyser ? Many Thanks Shaine -- View this message in context: http://www.nabble.com/AWSTATS-in-squid-cache-tp18824622p18824622.html Sent from the Squid - Users mailing list archive at Nabble.com.

[squid-users] DNS name lookup tests failed.

2008-08-08 Thread Shaine
appened only in squid-3.0.STABLE8. No errors in squid-2.6.STABLE13-1.fc6. I found a solution as I hard corded DNS name server in squid.conf and it's started to work. my question is , why this type of abnormal behaviour happens in squid-3.0.STABLE8? Can somebody direct me to a solution please.

Re: [squid-users] DNS name lookup tests failed.

2008-08-09 Thread Shaine
squid-3.0.STABLE8 do not start while in booting the machine. manually I issued the command /usr/local/squid/sbin/squid -NCd1. Then only I will receive that error message.it's happening later restarts. please help Shaine. Amos Jeffries-2 wrote: > > Shaine wrote: >> Dear