[squid-users] Squid & url rewriter

From: Merdouille <jgerhards_at_r-advertising.com>
Date: Thu, 26 Feb 2009 04:40:01 -0800 (PST)

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.
Received on Thu Feb 26 2009 - 12:40:09 MST

This archive was generated by hypermail 2.2.0 : Fri Feb 27 2009 - 12:00:01 MST