Re: [squid-users] redirect_program in Java ?

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Thu, 19 Jun 2003 01:05:49 +0200

On Wednesday 18 June 2003 21.01, Konrad Krzysztof Krasiński wrote:
> Helo
>
> I would like to know is this possible and (if yes), how to do it

Should be possible

> But when I tried to add to squid.conf:
> redirect_program '/usr/bin/java -cp /redirj/ Application1'

There should be no quotes.

> redirect_program /usr/bin/java -cp /redirj/ Application1
> this works beter than last one try - Squid starts but not
> redirector, in cache.log i saw
> helperOpenServers: Starting 1 'java' processes
> ipcCreate: /usr/bin/java: (13) Permission denied

What is the permissions on /usr/bin/java and on your application? Does
the user Squid runs as have permission to execute the Java runtime
and to read your application?

Regards
Henrik

-- 
Donations welcome if you consider my Free Squid support helpful.
https://www.paypal.com/xclick/business=hno%40squid-cache.org
If you need commercial Squid support or cost effective Squid or
firewall appliances please refer to MARA Systems AB, Sweden
http://www.marasystems.com/, info@marasystems.com
Received on Wed Jun 18 2003 - 17:05:57 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:17:26 MST