FAQ

Page Discussion History

HttpRandomIndexModule

Revision as of 15:56, 21 April 2012 by VBart (Talk | contribs)

Contents

Synopsis

Pick a random file from a directory and use it as the index file.

Example:

Directives

random_index

syntax: random_index [on|off]

default: off

context: location

When enabled will scan the directory for files on each request, and chose a randomly picked file instead of the usual index.html to use as the index file. Only plain-text files not starting with a dot will be considered.

References

Original Documentation