Just information about MIME settings for Apache, it is outdated, in Japanese, though. http://openoffice-ja.org/wiki/?shortcut=f8db65
- Addtype or TypesConfig of mod_mime - AddIcon icon files could be extracted from OpenOffice.org releases. For MediaWiki, it could be better if the following variables are properly set in the configuration file LocalSettings.php and its relevant, custom-made command is installed to do the file content detection for some relatively new file format like ODF, OOXML, ... which are somewhat not appropriately determined by the current popular commands such as 'file' and 'mimetype' ftp://ftp.astron.com/pub/file/ http://search.cpan.org/dist/File-MimeInfo/mimetype LocalSettings.php: $wgFileExtensions[] = 'aaa'; $wgFileExtensions[] = 'bbb'; $wgFileExtensions[] = 'ccc'; ... $wgMimeDetectorCommand = '/usr/local/bin/xxxxx'; MIME types which will be returned by the $wgMimeDetectorCommand and its corresponding file name extension should be listed in includes/mime.types of MediaWiki installation set so that the MediaWiki can check if the extension of questioned, under-being-uploading file has correct contents. includes/mime.types: application/vnd.oasis.opendocument.text odt ... http://www.mediawiki.org/wiki/Manual:Mime_type_detection http://www.mediawiki.org/wiki/Manual:Configuring_file_uploads Tora --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
