Write the Source Code using the NSAPI functions. Each SAF is written for a specific directive.
Compile and Link the source code to create a shared library ( .so , .sl , or .dll) file.
Load and Initialize the SAF by editing the magnus.conf file to:
Instruct the Server to Call the SAFs by editing obj.conf to call your custom SAF(s) at the appropriate time.
Test the SAF by accessing your server from a browser with a URL that triggers your function.
The following sections describe these steps in greater detail.