Oracle iPlanet Web Server 7.0.9 Administrator's Configuration File Reference


For dynamic compression of static files, compress-file SAF along with find-compressed SAF is used in Web Server 7.0.

When a request is sent to the URI for the first time, the compress-file function creates a compressed file in the specified subdirectory, provided the file size is between min-size and max-size.

If check-age parameter is set to true, the compress-file function checks if the available compressed file version is as recent as the non-compressed file version. If not, it recreates a compressed file.

The find-compressed function checks if the compressed version of the requested file is available. It changes the path and directs to the compressed file under the following conditions:

The following table describes parameter for the compress-file filter.

Table 7–74 compress-file Parameter




(Optional) A directory name, relative to the directory in which the original non-compressed file is located. To overwrite a pre-compressed, compressed file lying in docroot, set the subdir to period (.). The default value is period (.), that is, current directory.


(Optional) Specifies whether to check if the compressed version is older than the non-compressed version. The values can be true or false. The default value is true.  


(Optional) The values can be true or false. The default value is true.  


(Optional) Controls the compression level used by the compression library. The values are from 1 to 9. A value of 1 results in the best speed. A value of 9 results in the best compression. The default value is 6.  


(Optional) The values are from 0 to INT_MAX. The default value is 256. 


Optional) The values are from min-size to INT_MAX. The default value is 1048576 


NameTrans fn="assign-name" from="*.html" name="find-compressed"
Service method=(GET|HEAD|POST) type=*~magnus-internal/* fn=compress-file
Service method=(GET|HEAD|POST) type=*~magnus-internal/* fn=send-file

PathCheck fn="find-compressed"

See Also