MIME Type (application/zip) when I made a document in .xlsx in google apps. Open Suse 15.0 - mime-types

when I make a spreedsheet in Chrome (in Opensuse 15.0) and saved it as .xlsx assigns a mime type as application/zip and didn't open it with libreoffice. How can I solved to open it correctly or to assigned the correct mime type which is application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.
Thanks

Related

winista mime detector returning xwd mime type, for MP4 file

Tried to get mime type for MP4 files using winista mime detector , it is giving as xwd(x windows dump).
Why most of valid downloaded files returning xwd mime type?

.reg file downloads from web site as MP3 in Internet Explorer?

I have a custom .reg file, which is used to apply registry adjustments. Making it a download is causing Internet Explorer ad FireFox to treat it as a media file, or download it as an MP3?
Has anyone seen this before?
Figured it out. Needed to add MIME type support to my Apache Web Server:
Using the following configuration:
AddType text/plain .reg
I changed .htaccess to:
AddType text/text .reg
It did the trick for Firefox and IE. In IE I didn't even have to download the file. Clicking it sent it directly to the registry (after ample warnings). When I changed it to text/plain it appended .txt in Firefox.

Passbook pkpass files are not detected

I have book my itinerary and the travel website delivered the ticket along with the pkpassfiles. Unfortunately neither Safari nor Chrome detects it and show the option to open in passbook application. It shows options like FileApp/CHM reader etc. How to solve this?
I use default Gmail iOS App/Safari for opening opening mails (It's a gmail server)
As Petesh menions, your server is not serving the file a mime type of application/vnd.apple.pkpass.
If using Apache, try adding the following to your .htaccess file or server .conf
AddType application/vnd.apple.pkpass .pkpass
If you are generating the .pkpass files manually, you can set the content header when serving the file. E.g. for PHP you can use:
header('Content-Type: application/vnd.apple.pkpass');

Is the binary .ipa not .zip on itunes connect?

This is my first time to do Apple applications. I just uploaded the first game on itunes connect which I compressed the file under .zip on my local machine. After uploading to the iTunes Connect, I found out the binary file is .ipa not .zip. I don't know what happened.
Will Apple accept .ipa files? If not, how can I change the file from .ipa to .zip?
.ipa is the correct file format to upload to Itunes connect.
A file with a .ipa file extension is simply a ZIP archive with the extension renamed.

apache2 .htm extension

Since I've installed LAMP stack on ubuntu server with apache2, I've been having a weird issue. Whenever I create a file called filename.html, it renders and displays on browser fine. But whenever I create file with extension .htm, it will prompt the browser (firefox) to save the file.
I've already looked into /etc/mime.types and /etc/apache2/mod-enabled/mime.load
And what's in these files for .htm extension?
Can you check what mime-type returned by the Apache? (via browser plugins/sniffer)
After that you will see the issue...

Resources