Questions tagged [mime]

62 questions
1
vote
2 answers

IIS 6.0 receives 404 error on files with a "." extension and nothing else

I have an issue where I am reverse proxying from an IIS 6.0 server to an apache server which is serving PNG files with no extension. Strangly it serves files with a "." but nothing else, for example: "http://internalserver/proxy/image." I tried…
1
vote
2 answers

Cannot load IMG without specifying extension

I just moved to a new server. All my site is including images without extensions. () but the new server doesn't seem to recognize this files unless I add each file's extension which I don't know so I need it to work without the extension. Example:…
1
vote
1 answer

Perl sendmail attach log files match date format

I want to send log files matching date format, e.g. YYYY-MM-DD-*.log as attachments in Perl script. In BASH, this can be easily done by: [ -f $DIR/explog/$(date "+%Y-%m-%d")-*-host1.log ] && mutt -s "subject here" \ -a $DIR/explog/$(date…
Andrew
  • 113
  • 1
  • 5
  • 14
1
vote
1 answer

How can I edit web.config to have a different MIME type for a single XML file not others?

I am trying to set the MIME type for Flash's cross domain file in web.config. Since this file has an extension of .XML the following command will edit the MIME type of all XML documents in my site (not wanted)
makerofthings7
  • 8,911
  • 34
  • 121
  • 197
1
vote
0 answers

How to specify proper mime for javascript in apache?

I'm trying to set up mod_mime for javascript. My webserver returns this content-type for js files: Content-Type:application/x-javascript; charset=utf-8 so obviously the directive ExpiresByType application/x-javascript "access plus 1…
zerkms
  • 431
  • 2
  • 5
  • 17
1
vote
1 answer

Get MIME type of files served by Apache

I use an Apache server to make available J2ME application files (namely a *.jad file and a *.jar archive). Now I know that to properly serve these files you need to tell Apache what their MIME type is. I also know that you can do this via .htaccess…
Aabaz
  • 139
  • 7
1
vote
1 answer

Outlook Meeting Requests Not Being Re-encoded from Base 64 by Receiving Clients

Exchange 2010 + Outlook 2007. Users send outlook meeting request to a list of recipients both interanlly and externally to the organisation. Some recipients report receiving 'garbled' messages instead of meeting requests. The emails received by some…
Jayden
  • 111
  • 5
1
vote
1 answer

Do file extensions matter if you're sending the right MIME type?

I vaguely recall reading that for some audio and video file types, some browsers check not only the HTTP Content-Type header but also the file extension in the URL. Is that so? And what would happen if I output, for example, an MP4 video with the…
TRiG
  • 1,181
  • 3
  • 13
  • 30
1
vote
1 answer

ogg files return wrong mime apache. breaks firefox audio player

Hi my site is server ogg files with the mime application/x-unknown-content-type instead of application/ogg which breaks firefox's audio player. How do i get apache to serve the right mime? would it be easier to write code in my webapp (asp.net)…
user274
1
vote
2 answers

Space a valid delimiter for email addresses in email header?

Is it syntactically correct to delimit multiple email recipients in the "To" header of an email with spaces only or do I need to use another delimiter (a semicolon or the like)? Example (MIME data reads as follows): Date: Mon, 04 Oct 2010 06:14:16…
semanticalo
  • 111
  • 2
  • 5
1
vote
1 answer

Does Microsoft Exchange automatically rewrite incoming HTML e-mails as multipart/alternative?

Given: If you're sending an HTML e-mail, and you'd like to avoid spam filters, it's advisable to compose your e-mail as a multi-part message and include a plain text version. My Question: Does Microsoft Exchange automatically rewrite incoming…
Jim G.
  • 338
  • 2
  • 6
  • 15
1
vote
2 answers

Wrong MIME-type while uploading files

I have a problem with MIME-type while uploading a file to server from the web-interface. I used CI as engine for my website. I have FreeBSD with Apache 2.2.15 on the board. The problem is: While i upload doc-file, i get application/x-msword, ppt…
kirillorloff
  • 47
  • 2
  • 7
0
votes
3 answers

.docx issue in Apache servers

What I have to write to the .htaccess file so that the visitors will be able to download .docx files?
ilhan
  • 288
  • 5
  • 15
0
votes
2 answers

Apache2 MIME types for js and xml

Would there be any functionality/serving problems on an Apache2 by changing the following default MIME types... .js : application/x-javascript .xml : application/xml To this... .js : text/javascript .xml : text/xml My testing seems to show it…
Jeff
  • 1,416
  • 3
  • 28
  • 50
0
votes
1 answer

SPF check MIME FROM - how does the header differ and do I want to enable it?

On our email gateway SPF checks are enabled. There is an option though called SPF Check MIME FROM that I am unfamiliar with and what exactly it will do if the box is checked (enabled). I have researched info on MIME extensions and SPF, examined some…
user53029
  • 629
  • 3
  • 14
  • 36