Re: [squid-users] Squid & url rewriter

From: sameer shinde <s9sameer_at_gmail.com>
Date: Fri, 27 Feb 2009 12:54:22 +0530

Hi,

What exactly are you trying to achive?

~~~~~~~~~~~~~~
Sameer Shinde.
M:- +91 98204 61580
Millions saw the apple fall, but Newton was the one who asked why.

On Thu, Feb 26, 2009 at 6:10 PM, Merdouille <jgerhards_at_r-advertising.com> wrote:
>
> 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 Fri Feb 27 2009 - 07:24:25 MST

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