Questions tagged [mime]

62 questions
0
votes
1 answer

Nginx serves php files as plain text (Mod_Rewrite)

There is no .htaccess (Mod_Rewrite) in Nginx.. So I've converted my .htaccess to a format which can be read and placed in the default.conf. Original htaccess: Options -Indexes RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond…
Jake
  • 101
  • 2
  • 7
  • 11
0
votes
0 answers

Incorrect mime type for CSV returned by file -i

On debian the file -i command is returning incorrect information for CSV files, when I run it the mime type is returned as below. $ file -i courses.csv courses.csv: text/plain; charset=utf-8 I've looked in /etc/mime.types and the mime type is…
RyanMacG
  • 101
  • 1
0
votes
1 answer

How to correct the MIME type from being recognized as text/x-asm to text/css?

The styles.css file is not loading on my web page, and I am hosting on Amazon S3. It appears that my styles.css file is being recognized as text/x-asm instead of text/css as stated in my index.html file:
modulitos
  • 335
  • 1
  • 3
  • 16
0
votes
1 answer

How do I fix where email messages that are broken mime data?

Some of our users are getting emails with attachments that are appearing as the mime data still encoded. Usually 1 in 40 emails with an attachment will just have the raw data (plain text and html syntax and mime encoded attachments) plus there will…
Phil Hannent
  • 665
  • 2
  • 10
  • 21
0
votes
2 answers

Apache Rewrite Based on Mime Type

I’ve got a virtual host in my Apache config to deal with ads, spam, and malware sites. It works by having bad servers redirect to a specific loopback address that is mapped to the virtual host via the HOSTS file. Using the following directives, I…
Synetech
  • 948
  • 1
  • 12
  • 27
0
votes
1 answer

How can you send mime encoded emails on systems that do only support uuencode

If you use e.g. Solaris without additional installed software to send MIME mails: how can you send mails with MIME attachments with standard command line tools?
0
votes
1 answer

Do SMTP servers implement 8BITMIME with anything other than UTF-8?

RFC 5321 specifies that the body of an email be encoded as 7 bit, US-ASCII. The 8BITMIME extension allow the body to be encoded as 8 bit. An SMTP server can advertise that it supports 8BITMIME in its response to the EHLO…
james.garriss
  • 360
  • 6
  • 17
0
votes
0 answers

What is the mime type for ashx

I am trying to move a legacy app to iis7. I have found hundreds of posts on how to setup mime types, but not one on what exaclty the mime type for .ashx is. Also, I don't understand how aspx is being served by iis7 and it does not list it as a mime…
Roger Guess
  • 273
  • 1
  • 5
  • 11
0
votes
1 answer

How to make IIS7 recognize specific file extensions?

I'm attempting to embed .mp4 and .webm video files in a webpage and IIS doesn't appear to be recognizing the file extensions. I read that I needed to add the MIME types for each extension in IIS. I added .mp4 extension with a mime type of…
payling
  • 235
  • 1
  • 4
  • 16
0
votes
1 answer

How can I make all unrecognized file types as binary in Apache2?

I'm building a web server distributing variety kind of binary files. (with Ubuntu) They have vary extensions and sometimes has wrong extension. But currently, my Apache server serves unknown files as text. So I have to make my Apache2 serve all…
Eonil
  • 10,459
  • 16
  • 36
  • 54
0
votes
1 answer

Force Tomcat6 to server all *.manifest files as text/cache-manifest?

How do I configure tomcat to server all .manifest files as text/cache-manifest? I'm trying to create an offline cache, and this is tripping me up.
Stefan Kendall
  • 1,079
  • 3
  • 17
  • 33
0
votes
1 answer

Difference between adding MIME types in IIS via Websites vs Local Computer?

What is the difference between adding MIME types in these 2 different situations? When in IIS 6 manager... Right click on the computer name (local computer) > properties > mime types Right click on the "Web sites" folder > properties > http headers…
Alex KeySmith
  • 721
  • 2
  • 10
  • 19
0
votes
1 answer

multipart/mixed content type and boundary refused by Amavis

I'm writing a Ruby script that send SMTP email. The email is divided onto 3 parts: headers, body and attachment. Unfortunatly, I'm struggling to satisfy an Amavis requirement: properly writing the encapsulation boundary. This header, added by…
Sumak
  • 121
  • 6
0
votes
0 answers

OSS Server Written in Javascript, Linux Based Needs MIME Configuration

Scenario: There is a popular OSS application named Potree, hosted in GitHub. I am getting minimum support from its author, a very talented but busy guy who does not know much Linux or Apache. This is the great app that I desire to conquer and give…
0
votes
1 answer

MIME database file on Windows Server 2019

I'm working with IIS 10, on a Windows Server 2019 and I'm trying to export the MIME database to another WS-2019. Is there any path where the database is stored? I can't find anything similar in Windows. Any help is Welcome Christian