Introduction
  CGI and SSI
  <pike> tag
  Pike script
  Modules
  Parser modules
  Location modules
  Other module types
    Authentification
    Directory
    Extension
    File extension
    Filter
    First
    Last
    Log
    Provider
    URL
  Request information object
  Responses
  Library methods
 
Directory

A directory type module handle accesses to directories. This is usually done by creating a directory listing of the contents in the directory, or finding a suitable index file to be returned instead. There can only be one directory module in a virtual server.

The module type constant for directory modules are MODULE_DIRECTORIES.

The following API methods are available:

mixed parse_directory( object id )
returns a normal response containing either a suitable directory listing or an index file. The path to the directory is found in id->not_query.