Re: [squid-users] Cannot see any URL's coming into my script from STDIN

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Sat, 03 Mar 2007 00:44:06 +0100

fre 2007-03-02 klockan 21:58 +0100 skrev WRIGHT Alan:
> Folks,
> I have setup the following cfg in squid.conf
>
> url_rewrite_program c:/perl/bin/perl.exe c:/sqred/sqred.pl
>
> Squid runs fine, but I do not see any URL's into my script.
>
> My script is setup to read STDIN and then pop it into a file so that I
> can read it.

Have you remembered to disable output buffering for the file? Output
buffering need to be disabled per file your want to have unbuffered.

If not the output will only appear when sufficient amount of URLs have
been written, or the helper exits..

Regards
Henrik

Received on Fri Mar 02 2007 - 16:44:15 MST

This archive was generated by hypermail pre-2.1.9 : Sat Mar 31 2007 - 13:00:01 MDT