FAQ

Page Discussion Edit History

HttpRandomIndexModule

Revision as of 19:45, 2 May 2012 by Admin (Talk | contribs)

(diff) 鈫 Older revision | Latest revision (diff) | Newer revision 鈫 (diff)

Contents

[edit] Synopsis

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

Example:

[edit] Directives

[edit] random_index

Syntax: random_index on | off
Default: off
Context: location
Reference:random_index


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.

[edit] References

Original Documentation