What do you think of having something like DirectoryOptions? So your
configuration would look something like this:
DirectoryOptions ReadmeTop FancyIndexes IconLinks
IconLinkPrefix /cgi-bin/munge-me
/cgi-bin/munge-me would be a CGI script called with the name of the current
file as extra path information, and munge-me could use PATH_TRANSLATED to
get at the real filename.
For compatibility, I would still support FancyIndexes in srm.conf but it
could be replaced with DirectoryOptions.
--Rob