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

url-filter

Applicable in PathCheck-class directives.

The url-filter can be used to allow or deny URL patterns. You can use either regular expressions of URL patterns or names of filter files of URLs (“names” here refer to parameter names which were associated with filter files of URLs through init-url-filter SAF) as values for allow and deny parameters.

Parameters

The following table describes parameters for the url-filter function.

Table 5–65 url-filter parameters

Parameter  

Description  

allow 

Regular expression matching a URL pattern or name of a filter of URLs. 

deny 

Regular expression matching a URL pattern or name of a filter of URLs. 

bong-file 

Absolute path the custom error file (text or HTML) to be returned to the client. 

Example


PathCheck fn="url-filter" allow="filt1" deny=".*://.*.iplanet.com/.*"