Getting the content mimetype of all files as application/octet-stream
Moderator: crythias
-
- Znuny newbie
- Posts: 2
- Joined: 12 Feb 2018, 13:45
- Znuny Version: 5.0.18
- Real Name: Shubham
- Company: Unotech
Getting the content mimetype of all files as application/octet-stream
When trying to upload any attachment in the article, the mimetype of the file I'm getting is application/octet-stream. I'm actually trying to deny some specific type of files where I check the content type of the file and then make a decision on whether to allow or not. While doing so, it worked on my development environment but when I development it on other machine it didn't work. It is always getting the mimetype as application/octet-stream.
-
- Znuny newbie
- Posts: 74
- Joined: 17 May 2013, 09:30
- Znuny Version: 6.0.30
- Real Name: Stein Erik Berget
Re: Getting the content mimetype of all files as application/octet-stream
Hi there!
Have you checked your Apache config? You might need to add the mime types to one of the apache config files. You should be able to compare your dev and prod environment quite easily with this.
Just a suggestion.
Have a happy day!
Have you checked your Apache config? You might need to add the mime types to one of the apache config files. You should be able to compare your dev and prod environment quite easily with this.
Just a suggestion.
Have a happy day!
OTRS 6.0.12 on Ubuntu with MySQL DB, and various plug-ins and a hack or two
-
- Znuny newbie
- Posts: 2
- Joined: 12 Feb 2018, 13:45
- Znuny Version: 5.0.18
- Real Name: Shubham
- Company: Unotech
Re: Getting the content mimetype of all files as application/octet-stream
Thank you for your reply. I'll compare both the server's apache configurations.