Hi

I'm geting this error in cache.log

ERROR: URL-rewrite produces invalid request: GET ERR HTTP1.0

This error gives me with squidGuard (1.4).

I have tested a simple redirector in php to check the new helper interface
(The actual version of squid is 3.3.13), and It gives me the same message

Squid Cache: Version 3.3.13
configure options:  '--enable-icmp' '--enable-delay-pools'
'--enable-icap-client' '--disable-wccp' '--disable-wccpv2' '--enable-ssl'
'--enable-forw-via-db' '--disable-epoll' '--disable-http-violations'
'--enable-linux-netfilter' '--enable-follow-x-forwarded-for'
'--enable-ssl-crtd' '--enable-url-rewrite-helpers'

the redirector code is this (code taken from squid site):

$temp = array();
stream_set_timeout(STDIN, 86400);

while ( $input = fgets(STDIN) ) {
  $temp = split(' ', $input);
  $url = $temp[0];
  if ( $url == "http://www.google.com"; )
  {
     echo "OK rewrite-url=http://192.168.1.10/block.php \n";
  } else {
     echo "ERR \n";
  }
}

Thanks
_______________________________________________
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users

Reply via email to