-1

In the default file listing page (mod_autoindex) on apache2 (OS X), there is a column marked "description". Does anyone know of how you actually set what appears here? All of mine are blank, as are most of the ones on other servers that I see.

Sorry if this is really obvious but I can't find the answer anywhere else, including apache's docs

felixphew
  • 113
  • 3

1 Answers1

0

Apache's docs on mod_autoindex reveal two ways to set descriptions.

First, you can use AddDescription to set individual descriptions for files or groups of files by partial match.

Second, you can set IndexOptions +ScanHTMLTitles and Apache will use the <title> of each HTML document as its Description. This is CPU and disk intensive though.

Descriptions given by AddDescription take precedence.

JustKevin
  • 103
  • 4
Michael Hampton
  • 237,123
  • 42
  • 477
  • 940