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. Regards Henrik