httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <cove...@gmail.com>
Subject Re: [users@httpd] MIME types not delivering
Date Thu, 25 Oct 2012 14:59:35 GMT
On Thu, Oct 25, 2012 at 9:33 AM, J.Lance Wilkinson <jlw12@psu.edu> wrote:
> A colleague is running "Oracle-Application-Server-11g/11.1.1.4.0
> Oracle-HTTP-Server" which is basically Apache HTTPD v2.2.15, and he's having
> an issue when delivering content of certain MIME types, specifically to
> handle
> MS-OFFICE content.
>
> He has a file, for example, with a .docx extension, when it's delivered to
> their browser, the response headers say "Content-Type: text/plain"
>
> He has an AddType directive which reads
>
> AddType
>  application/vnd.openxmlformats-officedocument.wordprocessingml.document
> docx
>
> (line wrapping mine)
>
> Naturally he's expecting the response headers on delivery to report
>
> "Content-Type:
> application/vnd.openxmlformats-officedocument.wordprocessingml.document"
>
> Something obvious we're not catching?
>

Sure looks like the DefaultType kicking in, which should not happen
with an appropriate AddType.

It could be generated by the application server with C-T: text/plain,
which you can edit with Header edit Content-Type (but not
ForceType/AddType).

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message