CGI

The CGI installation requires that all of the ZAP templates are located in a specific directory, determined at compile time. The name of the template file is specified as part of the path name in the invocation. For instance in a form:

     <FORM METHOD=GET
     ACTION"http://myserver.com/cgi-bin/zap/mysearch.zap">
    

Or in a conventional HTML link:

     <A HREF="http:/cgi-bin/zap/mysearch.zap?id=7432"> MY RECORD! </A>
    

If ZAP had been configured to look for templates in the "demo" directory used in the test example above, then these two examples would have been exactly equivalent in terms of functionality.