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

Installing the NameTrans Example

To install the function on the Sun Java System Web Proxy Server, add the following Init directive to obj.conf to load the compiled function:

Init fn=load-modules shlib=your-library funcs=explicit-pathinfo

Inside the default object in obj.conf, add the following NameTrans directive:

NameTrans fn=explicit-pathinfo separator=","

This NameTrans directive should appear before other NameTrans directives in the default object.