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.
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. |
PathCheck fn = "user-agent-check" ua="Mozilla/.*" |