Closed
Bug 183340
Opened 22 years ago
Closed 18 years ago
Evangelism - TechNote - Create files for users to fix common MIME-type misconfigurations (.htaccess, etc.)
Categories
(Tech Evangelism Graveyard :: English US, enhancement)
Tech Evangelism Graveyard
English US
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: choess, Unassigned)
References
Details
(Whiteboard: [evangelism] [post file to te resources] [bug248549notfixed])
Attachments
(2 files, 9 obsolete files)
After reading a comment on bug 95549, it occurred to me that we should help users fix MIME-type configurations on their servers. There's a widespread misbelief that one needs to be a server administrator to change MIME-type configurations; while it's true that that's the only way to make *global* changes, many servers are configured to allow users to change MIME-type mappings for files in their directory. I suggest that we create some files (.htaccess files for Apache; I'd imagine there's an equivalent for IIS) correcting some of the common MIME-type deficiencies (.css to text/css, .ico as image/x-icon, etc.) and make them available among the evangelism resources. This way, people can upload them to their page root and fix the problem immediately. (Obviously, we still want them to try to convince their server admins to fix the problem, particularly with something common like .css files, but this could make it easier for people using less common things like SVG and Flash).
Comment 1•22 years ago
|
||
very good idea.
Blocks: 175026
Summary: Create files for users to fix common MIME-type misconfigurations (.htaccess, etc.) → Evangelism - TechNote - Create files for users to fix common MIME-type misconfigurations (.htaccess, etc.)
Reporter | ||
Comment 2•22 years ago
|
||
Here's a first stab at adding some commonly misconfigured MIME-types in an Apache .htaccess file.
Comment 3•21 years ago
|
||
what do you think of this look?
Reporter | ||
Comment 4•21 years ago
|
||
Looks fine to me.
Comment 5•21 years ago
|
||
need to post this as a resource
Assignee: bc → english-us
Component: Authors → English US
QA Contact: mgalli → english-us
Whiteboard: [evangelism] [post file to te resources]
Comment 6•20 years ago
|
||
Here are some more very commonly misconfigured extensions & MIME types on Apache servers: wmv video/x-ms-wmv wma audio/x-ms-wma asx video/x-ms-asf asf video/x-ms-asf rar application/x-rar-compressed dmg application/octet-stream See http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22580 for an attempt to fix this directly in Apache.
Comment 7•20 years ago
|
||
Let's post this ASAP because Internet Explorer in Windows XP SP2 requires MIME types to be set up (more) correctly. There are going to be thousands of webmasters searching for this configuration info over the next several months.
Comment 8•20 years ago
|
||
SVG should be (see bug 157514): AddType image/svg+xml .svg AddType image/svg+xml .svgz AddEncoding x-gzip .svgz .ico should be (see bug 252842): AddType image/vnd.microsoft.icon .ico
Comment 9•20 years ago
|
||
Comment 10•20 years ago
|
||
removed redundant css entry, added bittorrent
Updated•20 years ago
|
Attachment #161326 -
Attachment mime type: application/octet-stream → text/plain
Comment 11•20 years ago
|
||
In the second to last edit of the file, I somehow doubled the first four lines. The last person to edit the file mostly fixed that problem and then messed up the MIME type for the .ico extension. This is an attempt to fix all the problems. I'm marking the previous attachments obsolete since this last version the most definitive of the bunch, I hope!
Attachment #109317 -
Attachment is obsolete: true
Attachment #117503 -
Attachment is obsolete: true
Attachment #155486 -
Attachment is obsolete: true
Attachment #159590 -
Attachment is obsolete: true
Attachment #161326 -
Attachment is obsolete: true
Updated•20 years ago
|
Whiteboard: [evangelism] [post file to te resources] → [evangelism] [post file to te resources] [bug248549notfixed]
Comment 12•20 years ago
|
||
Add .m3u extension with MIME type audio/x-mpegurl.
Attachment #161328 -
Attachment is obsolete: true
Comment 13•20 years ago
|
||
Comment 14•20 years ago
|
||
(In reply to comment #13) > First Draft of MIME Type Technote The proper JavaScript MIME-type is application/x-javascript not application/js.
Comment 15•20 years ago
|
||
Attachment #169843 -
Attachment is obsolete: true
Comment 16•18 years ago
|
||
Attachment #163307 -
Attachment is obsolete: true
Comment 17•18 years ago
|
||
Attachment #170785 -
Attachment is obsolete: true
Comment 18•18 years ago
|
||
Steve, we should probably put these type documents on devmo.
Comment 19•18 years ago
|
||
I was actually just adding information to http://developer.mozilla.org/en/docs/Properly_Configuring_Server_MIME_Types I didn't add the How to Determine the MIME Type Sent by a Server section. Do you think I should?
Comment 20•18 years ago
|
||
sure.
Updated•18 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Updated•9 years ago
|
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•