Sun Java System Web Proxy Server 4.0.2 2005Q4 Configuration File Reference

Service Examples

For an example of how Service directives work, consider what happens when the server receives a request for the URL D:/server_name/jos.html. In this case, all directives executed by the server are in the default object.


Service method="(GET|HEAD|POST)" type="*~magnus-internal/*" fn="send-file""

            

Here is an example that involves using another object:


NameTrans fn=assign-name name=personnel from=/personnel

            

<Object name="personnel">
 Service fn="index-simple"
 </Object>