Re: [squid-users] Questions about referer url cache

From: dave jones <s.dave.jones_at_gmail.com>
Date: Wed, 17 Mar 2010 17:29:18 +0800

2010/3/16 Henrik Nordström wrote:
> tis 2010-03-16 klockan 10:08 +0800 skrev dave jones:
>
>> Thanks. I use url_rewrite_program /etc/squid/redirect_test.php,
>> but it seems my program doesn't work...
>
> In most languages you need to turn off output buffering, and is
> something everyone trips over when writing their first url
> rewriter/redirector.
>
> try adding a flush() call after the result echo or setting the
> implicit_flush php config variable.

Thank you for your help. I think my redirect program has problems.
When I go to offine mode, the browser still find us.rd.foo.com,
but it should be us.news.foo.com, no?

> Regards
> Henrik

Regards,
Dave.
Received on Wed Mar 17 2010 - 09:29:24 MDT

This archive was generated by hypermail 2.2.0 : Wed Mar 17 2010 - 12:00:04 MDT