Hi Instead of hardcoding the mime types cgit knows about, why not read /etc/mime.types when a mime type is needed? grtz -- Ferry Huberts