Sun Java System Web Server 6.1 SP12 NSAPI Programmer's Guide

Objects that Use the name Attribute

If a NameTrans directive in the default object specifies a name argument, the server switches to processing the directives in the object of that name before processing the remaining directives in the default object.

For example, the following NameTrans directive in the default object assigns the name cgi to any request whose URL starts with http://server_name/cgi/:

<Object name="default">
NameTrans fn="pfx2dir" from="/cgi" 
dir="D:/sun/webserver61/server1/docs/mycgi" 
name="cgi"...
</Object>

When that NameTrans directive is executed, the server starts processing directives in the object named cgi:


<Object name="cgi">
more directives...
</Object>