Re: [squid-users] adding a parameter to a URL / Problem in the url_redirect program

From: Henrik Nordstrom <henrik_at_henriknordstrom.net>
Date: Wed, 09 Jul 2008 17:37:57 +0200

On ons, 2008-07-09 at 10:04 -0300, Marcus Kool wrote:
> Shaine,
>
> When a program runs fine from the command line but not from a daemon,
> the cause is usually the change of environment: PATH or other
> environment variable, user ID....
> Remember that squid is started with a very clean environment.
>
> I suggest to run the redirect program from at:
> # su - squid
> $ at now
> echo "input line" | redirector > /tmp/log

Better make that

( echo "input line" ; echo "another input line" ; echo "yet another
input line" ) | redirector

Redirecting the output is optional. at delivers it in an email
otherwise.

should return the correct result for all three lines.

Regards
Henrik

Received on Wed Jul 09 2008 - 15:38:02 MDT

This archive was generated by hypermail 2.2.0 : Thu Jul 10 2008 - 12:00:03 MDT