Sun Java System Web Proxy Server 4.0.3 2006Q2 Configuration File Reference

Objects that Use the ppath Attribute

When the server finishes processing the NameTrans directives in the default object, the logical URL of the request will be transformed into the final URL that the proxy will use. If this final URL matches the ppath attribute of an object, 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 <Install_Root>/<Instance_Directory>/docs (which is the document root directory):


<Object name="default">
NameTrans fn="map" from="<http://myfiles/myuser/" to= "ftp://myftpserver/myuser/"
...
</Object>

            

The URL http://myfiles/myuser/ would be translated to ftp://myftpserver/myuser/. However, suppose that obj.conf contains the following additional object:


<Object ppath="ftp://">

               more directives...</Object>

            

In this case, the URL matches ftp:// after the NameTrans and so starts processing the directives in the above object..