Sun Java System Portal Server 7.1 Technical Reference

filter-by-prefix

The filter-by-prefix function allows or denies the resource if the given information source begins with the specified prefix string. The resource doesn’t have to match completely. The keyword all matches any string.

Parameters

The parameters used with the filter-by-prefix function and their description are:

src

Source of information.

allow/deny

Contains a string for prefix comparison.

Example

The following example allows resources whose content-type is any kind of text, including text/html and text/plain:


MetaData fn=filter-by-prefix src=type allow=text