httpdto generate a hypertext view of the directory listing. There are numerous configuration directives controlling this feature:
DirAccess- Enable/Selective/Disable directory listings
DirReadme- Configure/disable README-feature
FTPDirInfo- Configure/disable FTP messages in FTP listings
DirShowIcons- Show icons in directory listings
DirShowDate- show last-modified date
DirShowSize- show file sizes
DirShowBytes- show byte count for small files
DirShowDescription- show descriptions for files
DirShowHTMLTitles- show HTML titles in description field
DirShowMaxDescriptionLength- maximum description length
DirShowBrackets- use brackets around ALTernative text used instead of an icon
DirShowMinLength- minimum width to reserve for filenames
DirShowMaxLength- maximum width to reserve for filenames
DirShowHidden- show also files starting with a dot (hidden Unix files)
DirShowOwner- show owner of the file
DirShowGroup- show group of the file
DirShowMode- show permissions of the file
DirShowCase- do sorting in a case-sensitive manner
DirAddHref- make listing icons linked to CGI scripts
-dycommand line option. Default.
-dncommand line option.
.www_browsableare allowed. Synonym with
-dscommand line option.
READMEfile, include the text at the top of the directory listing. Synonym with
-dtcommand line option. Default.
READMEappear on the bottom. Synonym with
-dbcommand line option.
READMEinclusion feature. Synonym with
-drcommand line option.
On/Offdirectives control how the directory listings look like. The default is to show icons, use brackets around ALTernaltive text, show last-modified, size and description, allow filename field width vary between 15-22 characters, reserve 25 characters for description, and use HTML titles as descriptions for HTML files.
AddIconconfiguration directive. Default.
Onwill cause the exact byte count to appear.
At the time of release of 2.17 there was no consensus about where the descriptions come from, and the mechanism is currently undocumented. For HTML files description it the TITLE element; for other files the description field is left empty.
DirAddHrefdirective can be used to make the icon in HTTP directory listings sensitive for files which end in specified suffixes. The action is a CGI script call that can produce e.g. a listing of the contents of a tar file.
DirAddHref /cgi-bin/unarch .zip .tarThis would cause the icon for ZIP and TAR files to be linked to the
unarchCGI script (note that this is really a webmaster-supplied CGI script, not the normal
unarchprogram) with the virtual URL path in
PATH_INFOenvironment variable and the physical file path in
Don't use this directive on a proxy!
DirShowMinLength 15 DirShowMaxLength 25