This module rips out the icon guts of mod_autoindex and provides a Perl interface for looking up icon images. The motivation is to piggy-back the existing AddIcon and related directives for mapping file extensions and names to icons, while keeping things as small and fast as mod_autoindex does.
Available from CPAN. See the module manpage for more information.
Eric Cholet (Logilune) and
Stas Bekman (StasoSphere & Free Books).