Sun Java System Portal Server 7.1 Technical Reference

setup-type-by-extension

The setup-type-by-extension function configures the filter to recognize file name extensions. It must be called before the assign-type-by-extension function can be used. The file specified as a parameter must contain mappings between standard MIME content types and file extension strings.

Parameters

The parameter used with the setup-type-by-extension function and its description is:

file

Name of the MIME types configuration file.

Example


Setup fn=setup-type-by-extension file=./config/mime.types