These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for virtualmin/webmin amd mime types on the new forum.
hello all - i have started "experimenting" with opus-codec files.
i notice when i just go to a link directly for an opus file on an example page, it just plays, as expected (at least in firefox it does)
however, when i do the same thing on my server, the browser wants to download it instead.
under webmin-->system-->mime, i tried to manually enter:
audio/ogg
(please see attached)
but this did not work.
i did run a web-sniffer, and my mime-type is still coming through as "text/plain; charset=UTF-8" not "audio/ogg"
can anybody shed some light on what this newbie is doing wrong?
also, should this value end up going into the httpd.conf file?
thank you all for your help!
putting things in .htaccess seemed to do the trick:
AddType video/ogg .ogm AddType video/ogg .ogv AddType video/ogg .ogg
but i should think that webmin has a much better answer than something so crude as having to manually edit a file!
is there a better place i should specify mime types in virtualmin?
unless somebody has a better idea, i may end up manually editing the httpd.conf and adding this: