From: "Lu, Roy" <[email protected]>

> From: John Doe [mailto:[email protected]] 
>> 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


      

Reply via email to