# mod_dir

### MODULE

mod_dir

### MODULE SUMMARY

Basic directory handling.

### DESCRIPTION

This module generates an HTML directory listing (Apache-style) if a client sends a request for a directory instead of a file. This module is not configurable and it needs to be removed from the Modules config directive if directory listings is unwanted.

### EWSAPI MODULE INTERACTION

Uses the following EWSAPI interaction data, if available:

`{real_name,{Path,AfterPath}}`
  as defined in mod_alias(3).

Exports the following EWSAPI interaction data, if possible:

`{mime_type,MimeType}`
  The file suffix of the incoming URL mapped into a `MimeType` as defined in the Mime Type Settings section of `httpd_core(3)`.

Uses the following EWSAPI functions:

- mod_alias:default_index/2
- mod_alias:path/3

### SEE ALSO

httpd(3), mod_alias(3)

### AUTHORS

Joakim Grebenö - support@erlang.ericsson.se

inets 4.5
Copyright © 1991-2005 Ericsson AB