The unix shell script below is placed in the cgi-bin directory of the httpd server. It is called directly from K.class and starts the java interpretor on the proxy server Websnoop.class with the URL and Query sent from K.class as argument.
#!/bin/sh /local/packages/information-systems/java/bin/java Websnoop $1 echo echo argc is $#. argv is "$*". echo args are 1: $1 echo echo REMOTE_HOST = $REMOTE_HOST echo REMOTE_ADDR = $REMOTE_ADDR