Re: [squid-users] url_rewrite_program in Java

From: John Doe <jdmls_at_yahoo.com>
Date: Fri, 15 Jan 2010 09:34:13 -0800 (PST)

From: "Lu, Roy" <rlu_at_FACorelogic.com>

> From: John Doe [mailto:jdmls_at_yahoo.com]
>> From: "Lu, Roy"
>>> Does anyone have an example of a url rewrite program in Java. I tried
>>> with the following code but it did not work.
>> You could try to write to a file to see if the java code is run.
>> Also, watch out for output buffers; it need to be flushed each time.
> I tried that, and it showed that the java program is not called.

Not sure if it works but did you try to quote it?:
"/usr/bin/java -classpath /usr/local/squid/sbin/RewriteHelper"
Or maybe single quotes...
Otherwise, try to call a shell script that will run the java code...

JD

      
Received on Fri Jan 15 2010 - 17:34:20 MST

This archive was generated by hypermail 2.2.0 : Sat Jan 16 2010 - 12:00:03 MST