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

user-agent-check

Applicable in PathCheck-class directives.

The user-agent-check can be used to restrict access to the proxy server based on the type and version of the client’s web browser. A regular expression to match with user-agent header sent from the client is passed as a parameter to this function.

Parameters

The following table describes parameters for the user-agent-check function.

Table 5–66 user-agent-check parameters

Parameter  

Description  

ua 

Regular expression matching user-agent header sent from the client to the proxy server. 

Example


PathCheck fn = "user-agent-check" ua="Mozilla/.*"