Search squid archive

Re: Squid & url rewriter

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

 



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@xxxxxxxxxxxxxxxxx> 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.
>
>


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

  Powered by Linux