Re: MIME types not delivering

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Oct 25, 2012 at 9:33 AM, J.Lance Wilkinson <jlw12@xxxxxxx> 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@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux