Please ignore this message, I fixed the problem. Sorry for the noise! Regards, Dave. 2010/3/17 dave jones : > 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. >