On Wed, Jun 22, 2011 at 21:10, Ferry Huberts <mailings at hupie.com> wrote: > Instead of hardcoding the mime types cgit knows about, why not read > /etc/mime.types when a mime type is needed? Yeah, an option to specify the path to a (httpd style) mime.types file and then looking into this file when a mimetype lookup is needed (i.e. in ui-plain.c) sounds like a good idea. -- larsh