Search squid archive

ERROR: URL-rewrite

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 = ""
  if ( $url == "http://www.google.com" )
  {
     echo "OK rewrite-url="" href="http://192.168.1.10/block.php" target="_blank">http://192.168.1.10/block.php \n";
  } else {
     echo "ERR \n";
  }
}

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

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux