Hi everyone

I'm trying to use url rewriter for SQUID.
I use Squid 2.6 stable on CentOS.

In my config file i wrote :

never_direct allow all
url_rewrite_program /etc/squid/test.php
url_rewrite_children 1

And a stupid php file to do test :

#!/usr/bin/php
<?php

$temp = array();

while ( $input = fgets(STDIN) ) {
  
  echo "302:http://www.yahoo.fr/";;
}
?>

when i try to open an URL on my server, there is no redirection on yahoo
like it should do.

-- 
View this message in context: 
http://www.nabble.com/Squid---url-rewriter-tp22223197p22223197.html
Sent from the Squid - Users mailing list archive at Nabble.com.

Reply via email to