Sun Java System Web Server 7.0 Update 4 Administrator's Configuration File Reference

Objects That Use the ppath Attribute

When the server completes processing the NameTrans directives in the default object, the logical URL of the request has been converted to a physical path name. If this physical path name matches the ppath attribute of another object in obj.conf, the server switches to processing the directives in that object before processing the remaining ones in the default object.

For example, the following NameTrans directive translates the http://server_name/ part of the requested URL to D:/sun/webserver7/https-server/docs/, the document root directory:

<Object name="default">
NameTrans fn="document-root" 
          root="D:/sun/webserver7/https-server/docs"
...
</Object>

In this example, the URL http://server_name/internalplan1.html is translated to D:/sun/webserver7/https-server/docs/internalplan1.html.

However, if obj.conf contains the following additional object:

<Object ppath="*internal*">
   
</Object>

In this example, the partial path *internal* matches the path D:/sun/webserver7/https-server/docs/internalplan1.html. The server starts processing the directives in this object before processing the remaining directives in the default object.