Sun Java System Web Proxy Server 4.0.11 NSAPI Developer's Guide

ProcedureTo create a custom filter

  1. Writing the Source Code using the NSAPI functions.

  2. Compiling and Linking the source code to create a shared library (.so, .sl, or .dll) file.

  3. Loading and Initializing the Filter by editing the magnus.conf file.

  4. Instructing the Server to Insert the Filter by editing the obj.conf file to insert your custom filter(s) at the appropriate time.

  5. Restarting the Server.

  6. Testing the Filter by accessing your server from a browser with a URL that triggers your filter.

    These steps are described in greater detail in the following sections.