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

From: Henrik Nordström <henrik_at_henriknordstrom.net>
Date: Tue, 16 Mar 2010 12:14:47 +0100

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
Received on Tue Mar 16 2010 - 11:14:51 MDT

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