[squid-users] Header Stripping of Header type other

2008-10-16 Thread WRIGHT Alan [UK]
Hi Folks,
I have had a look at the wiki and the docs and need a bit more help.

I am trying to look for and strip a request header X-MSISDN:

I could use ACL with request_header_access other deny, but this will
strip some other headers too which is not possible.

Is there a way to create custom header fields for stripping?

Regards

Alan




RE: [squid-users] Transparent Proxy not working in 3.0 STable1

2008-02-20 Thread WRIGHT Alan
Totally correct Amos

I rebuilt with netfilter only and works great, thanks

Alan


-Original Message-
From: Amos Jeffries [mailto:[EMAIL PROTECTED] 
Sent: 14 February 2008 22:04
To: WRIGHT Alan
Cc: squid-users@squid-cache.org
Subject: Re: [squid-users] Transparent Proxy not working in 3.0 STable1

 Hi Folks,

 I have installed squid 3.0 stable 1 and have configured it for
 transparent mode.

 Somehow it doesn't seem to work correctly.

 When it runs, it shows that it is running in transparent mode, but
then
 when HTTP requests hit the box it gives the WARNING: Transparent
 proxying not supported. The web browser shows an error page but from
the
 squid itself (Error: HTTP 400 Bad Request - Invalid URL.).

 When I configured the build, I used the tproxy and the netfilter
options
 for transparent proxying as I wasn't sure what one I needed.

At present only one transparency option will work and build. The tproxy
configure option is for kernels patched with the TROXY patch from
balabit.
The netfilter option is for standard kernels using iptables NAT
REDIRECT.

You will need to pick the one that applies to you and re-build squid.


 Does anyone have a clue why it will not run in transparent mode.

 I am pretty sure my iptables is OK

It probably is, but squid when configured with multiple transparency
options squid prefers the more transparent option (TPROXY is the only
completely transparent).

It sounds like you need to drop the tproxy.

Amos


 Here is what the trace shows:

 No. TimeSourceDestination
Protocol
 Info
  20 12.102354   192.168.26.128192.168.130.250   HTTP
 GET / HTTP/1.1

 Frame 20 (493 bytes on wire, 493 bytes captured)
 Ethernet II, Src: 00:0c:29:e8:3d:07, Dst: 00:0c:29:01:ce:bc
 Internet Protocol, Src Addr: 192.168.26.128 (192.168.26.128), Dst
Addr:
 192.168.130.250 (192.168.130.250)
 Transmission Control Protocol, Src Port: 44418 (44418), Dst Port: http
 (80), Seq: 1, Ack: 1, Len: 427
 Hypertext Transfer Protocol
 GET / HTTP/1.1\r\n
 Host: 192.168.130.250\r\n
 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.1)
 Gecko/20060313 Fedora/1.5.0.1-9 Firefox/1.5.0.1 pango-text\r\n
 Accept:

text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plai
 n;q=0.8,image/png,*/*;q=0.5\r\n
 Accept-Language: en-us,en;q=0.5\r\n
 Accept-Encoding: gzip,deflate\r\n
 Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7\r\n
 Keep-Alive: 300\r\n
 Connection: keep-alive\r\n
 \r\n

 No. TimeSourceDestination
Protocol
 Info
  22 12.157274   192.168.130.250   192.168.26.128HTTP
 HTTP/1.0 400 Bad Request (text/html)[Short Frame]

 Frame 22 (1514 bytes on wire, 500 bytes captured)
 Ethernet II, Src: 00:0c:29:01:ce:bc, Dst: 00:0c:29:e8:3d:07
 Internet Protocol, Src Addr: 192.168.130.250 (192.168.130.250), Dst
 Addr: 192.168.26.128 (192.168.26.128)
 Transmission Control Protocol, Src Port: http (80), Dst Port: 44418
 (44418), Seq: 1, Ack: 428, Len: 1448
 Hypertext Transfer Protocol
 HTTP/1.0 400 Bad Request\r\n
 Server: squid/3.0.STABLE1\r\n
 Mime-Version: 1.0\r\n
 Date: Thu, 14 Feb 2008 04:44:37 GMT\r\n
 Content-Type: text/html\r\n
 Content-Length: 1447\r\n
 Expires: Thu, 14 Feb 2008 04:44:37 GMT\r\n
 X-Squid-Error: ERR_INVALID_URL 0\r\n
 X-Cache: MISS from localhost.localdomain\r\n
 Via: 1.0 localhost.localdomain (squid/3.0.STABLE1)\r\n
 Proxy-Connection: close\r\n
 \r\n

 TIA

 Alan










RE: [squid-users] Transparent Proxy not working in 3.0 Stable1

2008-02-15 Thread WRIGHT Alan
Problem solved, clearly I used the wrong option for build

I tried make clean and rebuild with --enable-linux-netfilter only and it
works fine

-Original Message-
From: WRIGHT Alan 
Sent: 14 February 2008 13:47
To: squid-users@squid-cache.org
Subject: [squid-users] Transparent Proxy not working in 3.0 Stable1


Hi Folks,

I have installed squid 3.0 stable 1 and have configured it for
transparent mode.

Somehow it doesn't seem to work correctly.

When it runs, it shows that it is running in transparent mode, but then
when HTTP requests hit the box it gives the WARNING: Transparent
proxying not supported. The web browser shows an error page but from the
squid itself (Error: HTTP 400 Bad Request - Invalid URL.). 

When I configured the build, I used the tproxy and the netfilter options
for transparent proxying as I wasn't sure what one I needed.

Does anyone have a clue why it will not run in transparent mode.

I am pretty sure my iptables is OK

Here is what the trace shows:

No. TimeSourceDestination   Protocol
Info
 20 12.102354   192.168.26.128192.168.130.250   HTTP
GET / HTTP/1.1

Frame 20 (493 bytes on wire, 493 bytes captured)
Ethernet II, Src: 00:0c:29:e8:3d:07, Dst: 00:0c:29:01:ce:bc
Internet Protocol, Src Addr: 192.168.26.128 (192.168.26.128), Dst Addr:
192.168.130.250 (192.168.130.250)
Transmission Control Protocol, Src Port: 44418 (44418), Dst Port: http
(80), Seq: 1, Ack: 1, Len: 427
Hypertext Transfer Protocol
GET / HTTP/1.1\r\n
Host: 192.168.130.250\r\n
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.1)
Gecko/20060313 Fedora/1.5.0.1-9 Firefox/1.5.0.1 pango-text\r\n
Accept:
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plai
n;q=0.8,image/png,*/*;q=0.5\r\n
Accept-Language: en-us,en;q=0.5\r\n
Accept-Encoding: gzip,deflate\r\n
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7\r\n
Keep-Alive: 300\r\n
Connection: keep-alive\r\n
\r\n

No. TimeSourceDestination   Protocol
Info
 22 12.157274   192.168.130.250   192.168.26.128HTTP
HTTP/1.0 400 Bad Request (text/html)[Short Frame]

Frame 22 (1514 bytes on wire, 500 bytes captured)
Ethernet II, Src: 00:0c:29:01:ce:bc, Dst: 00:0c:29:e8:3d:07
Internet Protocol, Src Addr: 192.168.130.250 (192.168.130.250), Dst
Addr: 192.168.26.128 (192.168.26.128)
Transmission Control Protocol, Src Port: http (80), Dst Port: 44418
(44418), Seq: 1, Ack: 428, Len: 1448
Hypertext Transfer Protocol
HTTP/1.0 400 Bad Request\r\n
Server: squid/3.0.STABLE1\r\n
Mime-Version: 1.0\r\n
Date: Thu, 14 Feb 2008 04:44:37 GMT\r\n
Content-Type: text/html\r\n
Content-Length: 1447\r\n
Expires: Thu, 14 Feb 2008 04:44:37 GMT\r\n
X-Squid-Error: ERR_INVALID_URL 0\r\n
X-Cache: MISS from localhost.localdomain\r\n
Via: 1.0 localhost.localdomain (squid/3.0.STABLE1)\r\n
Proxy-Connection: close\r\n
\r\n

TIA

Alan

 





[squid-users] Transparent Proxy not working in 3.0 STable1

2008-02-14 Thread WRIGHT Alan
Hi Folks,

I have installed squid 3.0 stable 1 and have configured it for
transparent mode.

Somehow it doesn't seem to work correctly.

When it runs, it shows that it is running in transparent mode, but then
when HTTP requests hit the box it gives the WARNING: Transparent
proxying not supported. The web browser shows an error page but from the
squid itself (Error: HTTP 400 Bad Request - Invalid URL.). 

When I configured the build, I used the tproxy and the netfilter options
for transparent proxying as I wasn't sure what one I needed.

Does anyone have a clue why it will not run in transparent mode.

I am pretty sure my iptables is OK

Here is what the trace shows:

No. TimeSourceDestination   Protocol
Info
 20 12.102354   192.168.26.128192.168.130.250   HTTP
GET / HTTP/1.1

Frame 20 (493 bytes on wire, 493 bytes captured)
Ethernet II, Src: 00:0c:29:e8:3d:07, Dst: 00:0c:29:01:ce:bc
Internet Protocol, Src Addr: 192.168.26.128 (192.168.26.128), Dst Addr:
192.168.130.250 (192.168.130.250)
Transmission Control Protocol, Src Port: 44418 (44418), Dst Port: http
(80), Seq: 1, Ack: 1, Len: 427
Hypertext Transfer Protocol
GET / HTTP/1.1\r\n
Host: 192.168.130.250\r\n
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.1)
Gecko/20060313 Fedora/1.5.0.1-9 Firefox/1.5.0.1 pango-text\r\n
Accept:
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plai
n;q=0.8,image/png,*/*;q=0.5\r\n
Accept-Language: en-us,en;q=0.5\r\n
Accept-Encoding: gzip,deflate\r\n
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7\r\n
Keep-Alive: 300\r\n
Connection: keep-alive\r\n
\r\n

No. TimeSourceDestination   Protocol
Info
 22 12.157274   192.168.130.250   192.168.26.128HTTP
HTTP/1.0 400 Bad Request (text/html)[Short Frame]

Frame 22 (1514 bytes on wire, 500 bytes captured)
Ethernet II, Src: 00:0c:29:01:ce:bc, Dst: 00:0c:29:e8:3d:07
Internet Protocol, Src Addr: 192.168.130.250 (192.168.130.250), Dst
Addr: 192.168.26.128 (192.168.26.128)
Transmission Control Protocol, Src Port: http (80), Dst Port: 44418
(44418), Seq: 1, Ack: 428, Len: 1448
Hypertext Transfer Protocol
HTTP/1.0 400 Bad Request\r\n
Server: squid/3.0.STABLE1\r\n
Mime-Version: 1.0\r\n
Date: Thu, 14 Feb 2008 04:44:37 GMT\r\n
Content-Type: text/html\r\n
Content-Length: 1447\r\n
Expires: Thu, 14 Feb 2008 04:44:37 GMT\r\n
X-Squid-Error: ERR_INVALID_URL 0\r\n
X-Cache: MISS from localhost.localdomain\r\n
Via: 1.0 localhost.localdomain (squid/3.0.STABLE1)\r\n
Proxy-Connection: close\r\n
\r\n

TIA

Alan

 




[squid-users] Transparent Proxy not working in 3.0 Stable1

2008-02-14 Thread WRIGHT Alan

Hi Folks,

I have installed squid 3.0 stable 1 and have configured it for
transparent mode.

Somehow it doesn't seem to work correctly.

When it runs, it shows that it is running in transparent mode, but then
when HTTP requests hit the box it gives the WARNING: Transparent
proxying not supported. The web browser shows an error page but from the
squid itself (Error: HTTP 400 Bad Request - Invalid URL.). 

When I configured the build, I used the tproxy and the netfilter options
for transparent proxying as I wasn't sure what one I needed.

Does anyone have a clue why it will not run in transparent mode.

I am pretty sure my iptables is OK

Here is what the trace shows:

No. TimeSourceDestination   Protocol
Info
 20 12.102354   192.168.26.128192.168.130.250   HTTP
GET / HTTP/1.1

Frame 20 (493 bytes on wire, 493 bytes captured)
Ethernet II, Src: 00:0c:29:e8:3d:07, Dst: 00:0c:29:01:ce:bc
Internet Protocol, Src Addr: 192.168.26.128 (192.168.26.128), Dst Addr:
192.168.130.250 (192.168.130.250)
Transmission Control Protocol, Src Port: 44418 (44418), Dst Port: http
(80), Seq: 1, Ack: 1, Len: 427
Hypertext Transfer Protocol
GET / HTTP/1.1\r\n
Host: 192.168.130.250\r\n
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.1)
Gecko/20060313 Fedora/1.5.0.1-9 Firefox/1.5.0.1 pango-text\r\n
Accept:
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plai
n;q=0.8,image/png,*/*;q=0.5\r\n
Accept-Language: en-us,en;q=0.5\r\n
Accept-Encoding: gzip,deflate\r\n
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7\r\n
Keep-Alive: 300\r\n
Connection: keep-alive\r\n
\r\n

No. TimeSourceDestination   Protocol
Info
 22 12.157274   192.168.130.250   192.168.26.128HTTP
HTTP/1.0 400 Bad Request (text/html)[Short Frame]

Frame 22 (1514 bytes on wire, 500 bytes captured)
Ethernet II, Src: 00:0c:29:01:ce:bc, Dst: 00:0c:29:e8:3d:07
Internet Protocol, Src Addr: 192.168.130.250 (192.168.130.250), Dst
Addr: 192.168.26.128 (192.168.26.128)
Transmission Control Protocol, Src Port: http (80), Dst Port: 44418
(44418), Seq: 1, Ack: 428, Len: 1448
Hypertext Transfer Protocol
HTTP/1.0 400 Bad Request\r\n
Server: squid/3.0.STABLE1\r\n
Mime-Version: 1.0\r\n
Date: Thu, 14 Feb 2008 04:44:37 GMT\r\n
Content-Type: text/html\r\n
Content-Length: 1447\r\n
Expires: Thu, 14 Feb 2008 04:44:37 GMT\r\n
X-Squid-Error: ERR_INVALID_URL 0\r\n
X-Cache: MISS from localhost.localdomain\r\n
Via: 1.0 localhost.localdomain (squid/3.0.STABLE1)\r\n
Proxy-Connection: close\r\n
\r\n

TIA

Alan

 




RE: [squid-users] Question on 302 problem

2007-03-14 Thread WRIGHT Alan
Thanks Henrik,
Changed the helper to concurrency 0 and the 302 is now working.

Only issue now is that the Location value is empty.

However, when I test my script from the dos prompt in squid/sbin I see the 
floowing response from my script onto the cmd line

302:http://www.fancygear.co.uk

Any ideas?

Thanks again

Alan 

-Original Message-
From: Henrik Nordstrom [mailto:[EMAIL PROTECTED] 
Sent: 12 March 2007 15:08
To: WRIGHT Alan
Cc: squid-users@squid-cache.org
Subject: Re: [squid-users] Question on 302 problem

mån 2007-03-12 klockan 14:59 +0100 skrev WRIGHT Alan:

 2007/03/09 12:38:34| helperHandleRead: unexpected reply on channel 302 
 from url_rewriter #5 '302:www.rachalan.f2s.com'
  
 In the cache.log file.
 
 Any ideas what the problem is?

Looks like you have set url_rewrite_concurrency with a helper not supporting 
this modified helper protocol.

Regards
Henrik



RE: [squid-users] Question on 302 problem

2007-03-14 Thread WRIGHT Alan
 Exactly, however, I have checked my script and it seems to run slightly
differently from running the script at the cmd prompt.

I think it may have something to do with the way the helper script is
called by quid and seems to run with c:\squid\sbin\ as the running
directory.

Here is the script:

The file foundurl.txt is never populated if it runs via squid, which is
why it seems to put the 302 as empty. But if I run same script from cmd
line then it populates foundurl.txt.

Unfortunately, when it comes to Perl and scripting generally I am a
total Noob.

BEGIN {$|=1};
($sec,$min,$hour,$mday,$mon,$year,$wday,$yday) = gmtime;


while (defined($line = STDIN)) {
  @hdr = split (/\s+/, $line);
  $hdr[2] =~ s/\/-//;
  $url = $hdr[1];
  $user_ip = $hdr[2];
  
  open (prof, user_profile.txt);
  print prof $user_ip;
  while (prof) {
  @user_prof = split(/\s+/, $_) if /$user_ip/;
  }
  close (prof);
  
  $ran_num = rand (5);
  $ran_num = int ($ran_num);
  $cat = $user_prof[1];
  
  open (selurl, profile_$cat.txt);
  while (selurl) {
$sel_url = $_ if /$ran_num/;
  }
  close (selurl);
  
  substr($sel_url,0,2) = ;

  
($sec1,$min1,$hour1,$mday1,$mon1,$year1,$wday1,$yday1) = gmtime;

  open (info, foundurl.txt);
  print info $sel_url;
  close (info);

  if ($min1 = $min+1  $sec1  $sec) {
  print 302:$sel_url\n;
  ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday) = gmtime;
  }
  else {
  print $url\n;
}
}

-Original Message-
From: Henrik Nordstrom [mailto:[EMAIL PROTECTED] 
Sent: 14 March 2007 12:06
To: WRIGHT Alan
Cc: squid-users@squid-cache.org
Subject: RE: [squid-users] Question on 302 problem

ons 2007-03-14 klockan 11:01 +0100 skrev WRIGHT Alan:
 Thanks Henrik,
 Changed the helper to concurrency 0 and the 302 is now working.
 
 Only issue now is that the Location value is empty.

You mean that Squid is sending a 302 redirect with an empty Location:
header? Should not happen, and does not happen in my tests..

Regards
Henrik



[squid-users] Question on 302 problem

2007-03-12 Thread WRIGHT Alan
Folks,
I have used the procedure for 302 redirecting that the FAQ defines.
 
However, I get this:
 
2007/03/09 12:38:24| helperHandleRead: unexpected reply on channel 302
from url_rewriter #2 '302:www.rachalan.f2s.com'
2007/03/09 12:38:32| helperHandleRead: unexpected reply on channel 302
from url_rewriter #3 '302:www.rachalan.f2s.com'
2007/03/09 12:38:33| helperHandleRead: unexpected reply on channel 302
from url_rewriter #4 '302:www.rachalan.f2s.com'
2007/03/09 12:38:34| helperHandleRead: unexpected reply on channel 302
from url_rewriter #5 '302:www.rachalan.f2s.com'
 
In the cache.log file.

Any ideas what the problem is?

Have I forgot to change something in squid.conf?

TIA

Alan



RE: [squid-users] Errors when Starting Squid

2007-03-02 Thread WRIGHT Alan
 Hi Amos,
I gave up on the windows port, I installed again on FC5 and then run
again.

Once I had setup permissions on the scripts, modified squid.conf to suit
the script name etc... Squid started and is now running perfectly with a
basic re-write script so all it does is put STDIN to STDOUT.

Now I need to understand what coming in from STDIN and manipulate it :-)

If I get some time I will try to work out why the windows port wont run
the .plx file.

If I open cmd line in windows, and type the script name, it runs
perfectly, so I am not entirely sure why its not running when called by
squid

Thanks

Alan

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: 02 March 2007 14:54
To: WRIGHT Alan
Cc: squid-users@squid-cache.org
Subject: Re: [squid-users] Errors when Starting Squid

 Folks,
 When I start squid, i get the following errors:

 helperOpenServers: Starting 10 'sqred.plx' processes
 2007/03/01 21:45:50| ipcCreate: CHILD: c:/sqred/sqred.plx: (8) Exec 
 format error

snip many duplicates

 I have noticed that it is due to this command in the .conf file

 url_rewrite_program c:/sqred/sqred.plx

 When this line is commented, the proxy works fine.

 Does anyone have an idea as to what the Exec Format error is?

 Thanks

 Alan


This is squid attempting to start its child processes. As it does so
Windows returns the Exec format error error and causes squid to
abandon the startup procedure.

The Windows Server Documentation indicates this error is given out by
windows when a binary file cannot be executed. Usually on corrupt
binaries.

Check that the c:/sqred/sqred.plx file is actually an executable format
in
win32 acceptable format. The windows command line should be able to
execute it or give you a better description of the problem.

Amos





RE: [squid-users] Errors when Starting Squid

2007-03-02 Thread WRIGHT Alan
Yes Guido, your right, I missed that on the rel notes :-O

Thanks for the pointer

Regards
Alan 

-Original Message-
From: Guido Serassio [mailto:[EMAIL PROTECTED] 
Sent: 02 March 2007 16:27
To: WRIGHT Alan; squid-users@squid-cache.org
Subject: Re: [squid-users] Errors when Starting Squid

Hi,

At 22.52 01/03/2007, WRIGHT Alan wrote:
Folks,
When I start squid, i get the following errors:

helperOpenServers: Starting 10 'sqred.plx' processes
2007/03/01 21:45:50| ipcCreate: CHILD: c:/sqred/sqred.plx: (8) Exec 
format error

You should read the Windows Compatibility Notes in the release notes of
Squid 2.6:
On Windows you must also specify the command interpreter needed for the
execution of scripts.

Regards

Guido



-

Guido Serassio
Acme Consulting S.r.l. - Microsoft Certified Partner
Via Lucia Savarino, 1   10098 - Rivoli (TO) - ITALY
Tel. : +39.011.9530135  Fax. : +39.011.9781115
Email: [EMAIL PROTECTED]
WWW: http://www.acmeconsulting.it/




RE: [squid-users] No squid_redirect option SQUID 2.6.STABLE3 ?

2007-03-02 Thread WRIGHT Alan
url_rewrite_program 

-Original Message-
From: Angela Burrell [mailto:[EMAIL PROTECTED] 
Sent: 02 March 2007 17:10
To: Guido Serassio; Santosh Rani; squid-users@squid-cache.org
Subject: RE: [squid-users] No squid_redirect option SQUID 2.6.STABLE3 ?

It has? What did it change to?

-Original Message-
From: Guido Serassio [mailto:[EMAIL PROTECTED]
Sent: March 2, 2007 11:22 AM
To: Santosh Rani; squid-users@squid-cache.org
Subject: Re: [squid-users] No squid_redirect option SQUID 2.6.STABLE3 ?


Hi,

At 17.00 02/03/2007, Santosh Rani wrote:
Hello Sirs/Madams,

I am running  SQUID 2.6.STABLE3 on FreeBSD 6.2.

I can not find any string like redirect_program here in squid.conf as

it is there in Squid 2.5. Has it been removed in SQUID 2.6.STABLE3 or I

have committed some mistake in compiling Squid.

No, you have only missed to read the release notes of Squid 2.6:
The name of the redirect_program directive is changed in 2.6.

Regards

Guido



-

Guido Serassio
Acme Consulting S.r.l. - Microsoft Certified Partner
Via Lucia Savarino, 1   10098 - Rivoli (TO) - ITALY
Tel. : +39.011.9530135  Fax. : +39.011.9781115
Email: [EMAIL PROTECTED]
WWW: http://www.acmeconsulting.it/



[squid-users] Cannot see any URL's coming into my script from STDIN

2007-03-02 Thread WRIGHT Alan
Folks,
I have setup the following cfg in squid.conf
 
url_rewrite_program c:/perl/bin/perl.exe c:/sqred/sqred.pl

Squid runs fine, but I do not see any URL's into my script.
 
My script is setup to read STDIN and then pop it into a file so that I
can read it.
 
For some reason, this file is never populated by Squid, but if i run it
manually and enter some text into STDIN then it populates the file fine.
 
Am I missing something in squid config? or is it something else?
 
Thanks

Alan



[squid-users] Errors when Starting Squid

2007-03-01 Thread WRIGHT Alan
Folks,
When I start squid, i get the following errors:
 
helperOpenServers: Starting 10 'sqred.plx' processes
2007/03/01 21:45:50| ipcCreate: CHILD: c:/sqred/sqred.plx: (8) Exec
format error
2007/03/01 21:45:50| ipcCreate: PARENT: OK read test failed
2007/03/01 21:45:50| -- read returned 4
2007/03/01 21:45:50| -- got 'ERR%0a'
2007/03/01 21:45:50| WARNING: Cannot run 'c:/sqred/sqred.plx' process.
2007/03/01 21:45:50| ipcCreate: CHILD: c:/sqred/sqred.plx: (8) Exec
format error
2007/03/01 21:45:50| ipcCreate: PARENT: OK read test failed
2007/03/01 21:45:50| -- read returned 4
2007/03/01 21:45:50| -- got 'ERR%0a'
2007/03/01 21:45:50| WARNING: Cannot run 'c:/sqred/sqred.plx' process.
2007/03/01 21:45:50| ipcCreate: CHILD: c:/sqred/sqred.plx: (8) Exec
format error
2007/03/01 21:45:50| ipcCreate: PARENT: OK read test failed
2007/03/01 21:45:50| -- read returned 4
2007/03/01 21:45:50| -- got 'ERR%0a'
2007/03/01 21:45:50| WARNING: Cannot run 'c:/sqred/sqred.plx' process.
2007/03/01 21:45:50| ipcCreate: CHILD: c:/sqred/sqred.plx: (8) Exec
format error
2007/03/01 21:45:50| ipcCreate: PARENT: OK read test failed
2007/03/01 21:45:50| -- read returned 4
2007/03/01 21:45:50| -- got 'ERR%0a'
2007/03/01 21:45:50| WARNING: Cannot run 'c:/sqred/sqred.plx' process.
2007/03/01 21:45:50| ipcCreate: CHILD: c:/sqred/sqred.plx: (8) Exec
format error
2007/03/01 21:45:50| ipcCreate: PARENT: OK read test failed
2007/03/01 21:45:50| -- read returned 4
2007/03/01 21:45:50| -- got 'ERR%0a'
2007/03/01 21:45:50| WARNING: Cannot run 'c:/sqred/sqred.plx' process.
2007/03/01 21:45:50| ipcCreate: CHILD: c:/sqred/sqred.plx: (8) Exec
format error
2007/03/01 21:45:50| ipcCreate: PARENT: OK read test failed
2007/03/01 21:45:50| -- read returned 4
2007/03/01 21:45:50| -- got 'ERR%0a'
2007/03/01 21:45:50| WARNING: Cannot run 'c:/sqred/sqred.plx' process.
2007/03/01 21:45:50| ipcCreate: CHILD: c:/sqred/sqred.plx: (8) Exec
format error
2007/03/01 21:45:50| ipcCreate: PARENT: OK read test failed
2007/03/01 21:45:50| -- read returned 4
2007/03/01 21:45:50| -- got 'ERR%0a'
2007/03/01 21:45:50| WARNING: Cannot run 'c:/sqred/sqred.plx' process.
2007/03/01 21:45:50| ipcCreate: CHILD: c:/sqred/sqred.plx: (8) Exec
format error
2007/03/01 21:45:50| ipcCreate: PARENT: OK read test failed
2007/03/01 21:45:50| -- read returned 4
2007/03/01 21:45:50| -- got 'ERR%0a'
2007/03/01 21:45:50| WARNING: Cannot run 'c:/sqred/sqred.plx' process.
2007/03/01 21:45:50| ipcCreate: CHILD: c:/sqred/sqred.plx: (8) Exec
format error
2007/03/01 21:45:50| ipcCreate: PARENT: OK read test failed
2007/03/01 21:45:50| -- read returned 4
2007/03/01 21:45:50| -- got 'ERR%0a'
2007/03/01 21:45:50| WARNING: Cannot run 'c:/sqred/sqred.plx' process.
2007/03/01 21:45:50| ipcCreate: CHILD: c:/sqred/sqred.plx: (8) Exec
format error
2007/03/01 21:45:50| ipcCreate: PARENT: OK read test failed
2007/03/01 21:45:50| -- read returned 4
2007/03/01 21:45:50| -- got 'ERR%0a'
2007/03/01 21:45:50| WARNING: Cannot run 'c:/sqred/sqred.plx' process.
 
I have noticed that it is due to this command in the .conf file

url_rewrite_program c:/sqred/sqred.plx

When this line is commented, the proxy works fine.

Does anyone have an idea as to what the Exec Format error is?

Thanks

Alan