Search squid archive

Re: url_rewrite_program in Java

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: "Lu, Roy" <rlu@xxxxxxxxxxxxxxx>

> From: John Doe [mailto:jdmls@xxxxxxxxx] 
>> 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


      

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux