Oracle iPlanet Web Proxy Server 4.0.14 Configuration File Reference

list-dir

Applicable in Service-class directives.

The list-dir function returns a sequence of text lines to the client in response to a request whose method is INDEX. The format of the returned lines is:

name size mtime

The name field is the name of the file or directory. It is relative to the directory being indexed. It is URL-encoded, so any character might be represented by %xx, where xx is the hexadecimal representation of the character’s ASCII number.

The size field is the size of the file, in bytes.

The mtime field is the numerical representation of the date of last modification of the file. The number is the number of seconds since the epoch (Jan 1, 1970 00:00 UTC) since the last modification of the file.

When remote file manipulation is enabled in the server, the obj.conf file contains a Service-class function that calls list-dir for requests whose method is INDEX.

Parameters

The list-dir function has no specific parameters.

Table 5–109 list-dir Parameters

Parameter  

Description  

method

(Optional) Common to all Service-class functions.

query

(Optional) Common to all Service-class functions.

UseOutputStreamSize

(Optional) Common to all Service-class functions.

flushTimer

(Optional) Common to all Service-class functions.

ChunkedRequestBufferSize

(Optional) Common to all Service-class functions.

ChunkedRequestTimeout

(Optional) Common to all Service-class functions.

bucket

(Optional) Common to all obj.conf functions.

Example


Service fn=list-dir method="INDEX"